Update makefile and gitignore

This commit is contained in:
D2A62006 2025-12-07 20:15:02 +01:00
parent 70c0f9bcaf
commit a89ed94c97
3 changed files with 6 additions and 2 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
doble_initial doble_initial
stackTests
bintreeTests
*.o *.o
*.exe *.exe

View File

@ -39,6 +39,8 @@ doble_initial:
# -------------------------- # --------------------------
stackTests: stack.o test_stack.c $(unityfolder)/unity.c stackTests: stack.o test_stack.c $(unityfolder)/unity.c
$(CC) $(CFLAGS) -I$(unityfolder) -o stackTests test_stack.c stack.o $(unityfolder)/unity.c ${LDFLAGS} $(CC) $(CFLAGS) -I$(unityfolder) -o stackTests test_stack.c stack.o $(unityfolder)/unity.c ${LDFLAGS}
bintreeTests: bintree.o stack.o bintreeTest.c $(unityfolder)/unity.c
$(CC) $(CFLAGS) -I$(unityfolder) -o bintreeTests bintreeTest.c bintree.o stack.o $(unityfolder)/unity.c ${LDFLAGS}
unitTests: unitTests:
echo "needs to be implemented" echo "needs to be implemented"
@ -47,7 +49,7 @@ unitTests:
# -------------------------- # --------------------------
clean: clean:
ifeq ($(OS),Windows_NT) ifeq ($(OS),Windows_NT)
del /f *.o doble del /f *.o doble doble_initial bintreeTests stackTests
else else
rm -f *.o doble rm -f *.o doble doble_initial bintreeTests stackTests
endif endif

Binary file not shown.