fuNote/src/Makefile

20 lines
361 B
Makefile
Raw Normal View History

2018-10-19 13:36:54 +02:00
CFLAGS = -Wall \
-Wextra \
-Wbad-function-cast \
-Wcast-align \
-Wcast-qual \
-Wmissing-declarations \
-Wnested-externs \
-Wpointer-arith \
-Wwrite-strings \
-Wno-discarded-qualifiers \
-pedantic \
-std=c99
SRC=$(wildcard *.c)
clean:
rm -f fn
fn: $(SRC)
$(CC) -o $@ $^ $(CFLAGS)