This commit is contained in:
Solomon W. 2020-06-04 19:33:07 -04:00
parent 6364a572e5
commit 009bc6cc1f
2 changed files with 5 additions and 3 deletions

2
.gitignore vendored
View File

@ -9,3 +9,5 @@ bin/*
.ccls-cache/* .ccls-cache/*
*.gch *.gch
vgcore.*

View File

@ -1,6 +1,6 @@
CC = clang CC = clang
LINK = -lstdc++ -lSDL2 -lm -ldl -lSDL_gfx LINK = -lstdc++ -lSDL2 -lm -ldl -lSDL_gfx
DBG = -Wall -O3 DBG = -Wall -g -gmodules -O0
CC += $(DBG) CC += $(DBG)
all: build ; all: build ;
@ -37,7 +37,7 @@ build: $(goals) ;
$(CC) $(goals) -o ./bin/simulator $(LINK) $(CC) $(goals) -o ./bin/simulator $(LINK)
#bin/%.o : src/%.cpp ; #bin/%.o : src/%.cpp ;
.PHONY: clean .PHONY: clean
clean: clean:
@ -45,4 +45,4 @@ clean:
.PHONY: run .PHONY: run
run: build ; run: build ;
./bin/simulator ./bin/simulator