Entirely rewritten fiche

This commit is contained in:
solusipse
2017-09-02 17:51:43 +02:00
parent c054f8dc20
commit 8ff08a0409
5 changed files with 910 additions and 634 deletions

View File

@@ -1,13 +1,9 @@
# -----------------------------------
# Fiche MAKEFILE
# https://github.com/solusipse/fiche
# solusipse.net
# -----------------------------------
CFLAGS+=-pthread -O2
# 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
all: fiche
all:
${CC} main.c fiche.c $(CFLAGS) -o fiche
install: fiche
install -m 0755 fiche $(prefix)/bin