ics_cli/unit-tests/Makefile

17 lines
775 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-10 16:42:43 +02:00
test_pretty_print_date_time:
$(CC) $(CFLAGS) test_pretty_print_date_time.c ../src/string_handling.c ../src/date_time_handling.c ../src/read_until_string.c ../src/read_until_nl.c -o test_pretty_print_date_time.out
2024-07-09 08:27:18 +02:00
.PHONY:clean
clean:
-rm -vf *.out