Makefile angepasst

This commit is contained in:
Bastian 2025-11-02 20:15:43 +01:00
parent bd2e6f4e41
commit b6b98b53fc

View File

@ -35,11 +35,15 @@ graphicalGame.o: graphicalGame.c
# --------------------------
TEST_BIN = runTests
test: input.o game.o unit_tests.c
$(CC) $(CFLAGS) -I$(unityfolder) -o $(TEST_BIN) input.o game.o unit_tests.c $(BINARIES)/libunity.a
#test: input.o game.o unit_tests.c
# $(CC) $(CFLAGS) -I$(unityfolder) -o $(TEST_BIN) input.o game.o unit_tests.c $(BINARIES)/libunity.a
test: input.o game.o unit_tests.c $(unityfolder)/unity.c
$(CC) $(CFLAGS) -I$(unityfolder) -o $(TEST_BIN) input.o game.o unit_tests.c $(unityfolder)/unity.c
# --------------------------
# Clean
# --------------------------
#clean:
# del /f *.o *.exe
clean:
del /f *.o *.exe
rm -f *.o *.exe