improve makefile
This commit is contained in:
parent
b4392e259f
commit
af961dd144
2 changed files with 5 additions and 3 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
/elem
|
||||
/elem
|
||||
/elem.exe
|
5
Makefile
5
Makefile
|
@ -1,4 +1,5 @@
|
|||
CC=gcc
|
||||
CC?=gcc
|
||||
BIN?=elem
|
||||
|
||||
make: src/main.c
|
||||
$(CC) -o elem src/map.c src/main.c
|
||||
$(CC) -o $(BIN) src/map.c src/main.c
|
Loading…
Reference in a new issue