improve makefile

This commit is contained in:
biglyderv 2025-03-24 17:40:24 -04:00
parent b4392e259f
commit af961dd144
Signed by: biglyderv
GPG key ID: 0E2EB0B4CD7397B5
2 changed files with 5 additions and 3 deletions

3
.gitignore vendored
View file

@ -1 +1,2 @@
/elem
/elem
/elem.exe

View file

@ -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