Files
fiche/Makefile

15 lines
294 B
Makefile
Raw Permalink Normal View History

2017-09-02 17:51:43 +02:00
# for debug add -g -O0 to line below
CFLAGS+=-pthread -O2 -Wall -Wextra -Wpedantic -Wstrict-overflow -fno-strict-aliasing -std=gnu11 -g -O0
prefix=/usr/local/bin
2013-09-06 04:01:55 +02:00
2017-09-02 17:51:43 +02:00
all:
${CC} main.c fiche.c $(CFLAGS) -o fiche
2013-09-06 04:01:55 +02:00
install: fiche
install -m 0755 fiche $(prefix)
clean:
rm -f fiche
.PHONY: clean