added Makefile for unit test
This commit is contained in:
10
unit-tests/Makefile
Normal file
10
unit-tests/Makefile
Normal file
@ -0,0 +1,10 @@
|
||||
CC = gcc
|
||||
CFLAGS = -Wall -g -O0
|
||||
|
||||
test_parse_ics:
|
||||
$(CC) $(CFLAGS) test_parse_ics.c ../src/parse_ics.c ../src/string_handling.c ../src/list_handling.c ../src/date_time_handling.c ../src/read_until_string.c ../src/read_until_nl.c -o test_parse_ics.out
|
||||
./test_parse_ics.out
|
||||
|
||||
.PHONY:clean
|
||||
clean:
|
||||
-rm -vf *.out
|
Reference in New Issue
Block a user