generated from freudenreichan/info2Praktikum-DobleSpiel
Makefile angepasst
This commit is contained in:
parent
1a5b7cb025
commit
d42a9e09e1
24
makefile
24
makefile
@ -31,13 +31,35 @@ doble : main.o $(program_obj_files)
|
|||||||
|
|
||||||
$(program_obj_filesobj_files): %.o: %.c
|
$(program_obj_filesobj_files): %.o: %.c
|
||||||
$(CC) -c $(FLAGS) $^ -o $@
|
$(CC) -c $(FLAGS) $^ -o $@
|
||||||
|
|
||||||
# --------------------------
|
# --------------------------
|
||||||
# Unit Tests
|
# Unit Tests
|
||||||
# --------------------------
|
# --------------------------
|
||||||
unitTests:
|
unitTests:
|
||||||
echo "needs to be implemented"
|
echo "needs to be implemented"
|
||||||
|
|
||||||
|
bintree: bintree.c
|
||||||
|
$(CC) $(FLAGS) -c bintree bintree.c
|
||||||
|
|
||||||
|
bintreeTests: stack.o bintree.o bintreeTests.c $(unityfolder)/unity.c
|
||||||
|
$(CC) $(FLAGS) -o runbintreeTests bintreeTests.c bintree.o stack.o $(unityfolder)/unity.c
|
||||||
|
|
||||||
|
highscore: highscore.c
|
||||||
|
$(CC) $(FLAGS) -c highscore highscore.c
|
||||||
|
|
||||||
|
numbers: numbers.c
|
||||||
|
$(CC) $(FLAGS) -c numbers numbers.c
|
||||||
|
|
||||||
|
test_numbers: numbers.o bintree.o stack.o test_numbers.c $(unityfolder)/unity.c
|
||||||
|
$(CC) $(FLAGS) -o run_numbersTests test_numbers.c numbers.o bintree.o stack.o $(unityfolder)/unity.c
|
||||||
|
|
||||||
|
stack: stack.c
|
||||||
|
$(CC) $(FLAGS) -c stack stack.c
|
||||||
|
|
||||||
|
test_stack: stack.o test_stack.c $(unityfolder)/unity.c
|
||||||
|
$(CC) $(FLAGS) -o runstackTests test_stack.c stack.o $(unityfolder)/unity.c
|
||||||
|
|
||||||
|
timer: timer.c
|
||||||
|
$(CC) $(FLAGS) -c timer timer.c
|
||||||
# --------------------------
|
# --------------------------
|
||||||
# Clean
|
# Clean
|
||||||
# --------------------------
|
# --------------------------
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user