commit 7ee9910cac61144c91d8154064081208c1f4eb6e
parent a7174e18db849169c46d64b7de6b34b46ee21f2a
Author: Maxim V Filimonov <che@bein.link>
Date: Fri, 1 May 2015 23:49:11 +0300
parent a7174e18db849169c46d64b7de6b34b46ee21f2a
Author: Maxim V Filimonov <che@bein.link>
Date: Fri, 1 May 2015 23:49:11 +0300
Makefile: more *BSD-friendly, got rid of mandatory gcc
diff --git a/Makefile b/Makefile @@ -4,12 +4,15 @@ # solusipse.net # ----------------------------------- -CC=gcc -CFLAGS=-pthread -O2 -prefix=/usr/local +CFLAGS+=-pthread -O2 all: fiche.c $(CC) -o fiche $(CFLAGS) fiche.c install: fiche - install -m 0755 fiche $(prefix)/bin + install -m 0755 fiche ${PREFIX}/bin + +clean: + rm -f fiche + +.PHONY: clean
: nply/fiche2