11 lines
267 B
Makefile
11 lines
267 B
Makefile
.POSIX:
|
|
|
|
CFLAGS += -Wall -Wextra -pedantic -std=c99
|
|
CFLAGS += -flto -O2
|
|
|
|
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
|