Update makefile and gitignore
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
doble_initial
|
doble_initial
|
||||||
|
stackTests
|
||||||
|
bintreeTests
|
||||||
*.o
|
*.o
|
||||||
*.exe
|
*.exe
|
||||||
@@ -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
|
||||||
BIN
Binary file not shown.
Reference in New Issue
Block a user