Create config parser and read config from file
This commit is contained in:
7
Makefile
7
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user