ics_cli/unit-tests/Makefile

14 lines
560 B
Makefile
Raw Normal View History

2024-07-09 08:27:18 +02:00
CC = gcc
CFLAGS = -Wall -g -O0
test_parse_ics_file:
$(CC) $(CFLAGS) test_parse_ics_file.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_file.out
./test_parse_ics_file.out
2024-07-09 08:27:18 +02:00
2024-07-10 15:25:26 +02:00
test_print_upcoming:
$(CC) $(CFLAGS) test_print_upcoming.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_print_upcoming.out
2024-07-09 08:27:18 +02:00
.PHONY:clean
clean:
-rm -vf *.out