LDFLAGS := -L${SFML_ROOT}/lib -I${SFML_ROOT}/include -lsfml-window -lsfml-graphics -lsfml-system
OBJDIR := build
-EXEDIR := build/exe
-EXE := $(EXEDIR)/game.out
-TEST := $(EXEDIR)/test.out
+EXE := play
+TEST := test
SRC := $(shell find src -type f -name '[^_]*.cc')
SRC_H := $(shell find src -type f -name '[^_]*.h')
dir:
mkdir -p $(OBJDIR)
- mkdir -p $(EXEDIR)
game: dir
@$(MAKE) --no-print-directory game-target
./$(TEST)
clean:
- rm -rf $(OBJDIR)/*
\ No newline at end of file
+ rm -rf $(OBJDIR)/*
+ rm -rf play test
\ No newline at end of file