fuNote/Makefile

29 lines
488 B
Makefile
Raw Permalink Normal View History

2018-10-19 13:36:54 +02:00
CFLAGS = -Wall \
2018-10-25 14:15:00 +02:00
-Wextra \
-Wbad-function-cast \
-Wcast-align \
-Wcast-qual \
-Wmissing-declarations \
-Wnested-externs \
-Wpointer-arith \
-Wwrite-strings \
-Wno-discarded-qualifiers \
-pedantic \
-std=c99
2018-10-19 13:36:54 +02:00
SRC=$(wildcard *.c)
fn: $(SRC)
$(CC) -o $@ $^ $(CFLAGS)
man: fn.6
cat fn.6 | gzip - > fn.6.gz
man-test: fn.6.gz
groff -man -Tascii fn.6
2018-10-19 13:36:54 +02:00
all: fn man
clean:
rm -f fn{,.6.gz}