linked list V1 / phone-number typos / student setup script V1

This commit is contained in:
2021-09-04 20:57:50 +02:00
parent 33cc1343cb
commit 064f3d27a9
15 changed files with 992 additions and 6 deletions

View File

@@ -27,9 +27,9 @@
default: all
ALLSOURCES=$(wildcard ./*.c)
TESTSOURCES=$(wildcard ./test_*.c)
SRC=$(filter-out $(TESTSOURCES),$(ALLSOURCES))
ALLSOURCES:=$(wildcard ./*.c)
TESTSOURCES:=$(wildcard ./test_*.c)
SRC:=$(filter-out $(TESTSOURCES),$(ALLSOURCES))
include makefile
@@ -52,6 +52,5 @@ unitdebug: CFLAGS+=-DDEBUG
unitdebug: clean unit
unit: CFLAGS+=-DUNIT_TEST
unit: SOURCES=$(wildcard ./*.c)
unit: *.c *.h
$(CC) $(CFLAGS) $(SRC) -o tests.out $(LIBS)