generated from freudenreichan/info2Praktikum-DobleSpiel
stack.c und h geschrieben, unittests geschrieben und bestanden.
This commit is contained in:
@@ -35,8 +35,14 @@ $(program_obj_filesobj_files): %.o: %.c
|
||||
# --------------------------
|
||||
# Unit Tests
|
||||
# --------------------------
|
||||
unitTests:
|
||||
echo "needs to be implemented"
|
||||
unitTests: stacktest
|
||||
|
||||
|
||||
test_stack: stacktest.o stack.o
|
||||
$(CC) $(FLAGS) $^ -o stacktest
|
||||
|
||||
test_stack.o: stacktest.c
|
||||
$(CC) -c $(FLAGS) $< -o $@
|
||||
|
||||
# --------------------------
|
||||
# Clean
|
||||
|
||||
Reference in New Issue
Block a user