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