From: Nils Forssén Date: Tue, 12 Dec 2023 09:23:50 +0000 (+0100) Subject: Changed executable directory X-Git-Url: https://gitweb.forssennils.se/?a=commitdiff_plain;h=1b6f0c4924c3ff4dd29e533978f5cca70818b361;p=TDDC76_proj.git Changed executable directory --- diff --git a/Makefile b/Makefile index 8446431..824b0c1 100644 --- a/Makefile +++ b/Makefile @@ -3,9 +3,8 @@ CCFLAGS := -std=c++17 -Wall -Wextra -pedantic -Weffc++ -Wold-style-cast -I src 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') @@ -19,7 +18,6 @@ all: dir game-target test-target dir: mkdir -p $(OBJDIR) - mkdir -p $(EXEDIR) game: dir @$(MAKE) --no-print-directory game-target @@ -43,4 +41,5 @@ test: ./$(TEST) clean: - rm -rf $(OBJDIR)/* \ No newline at end of file + rm -rf $(OBJDIR)/* + rm -rf play test \ No newline at end of file diff --git a/play b/play new file mode 100755 index 0000000..0f1e5c0 Binary files /dev/null and b/play differ