Create config parser and read config from file

This commit is contained in:
rhizome committed 2024-04-08 18:45:40 +01:00
1 parent c6d01fd8ca
commit 784e0a0f91
4 files changed
+339 -55

No files matched your search

+3 -4
View File
@@ -1,11 +1,10 @@
.POSIX:
CFLAGS += -Wall -Wextra -pedantic -std=c99
#CFLAGS += -ggdb
CFLAGS += -flto -O2
rotagen: rotagen.o Makefile
$(CC) $(CFLAGS) $(LDFLAGS) -o rotagen rotagen.o
rotagen: rotagen.o conf_reader.o Makefile
$(CC) $(CFLAGS) $(LDFLAGS) -o rotagen rotagen.o conf_reader.o
rotagen.o: rotagen.c rotagen.h Makefile
conf_reader.o: conf_reader.c rotagen.h Makefile