Makefile: more *BSD-friendly, got rid of mandatory gcc

This commit is contained in:
Maxim V Filimonov
2015-05-01 23:49:11 +03:00
parent a7174e18db
commit 7ee9910cac
2 changed files with 7 additions and 4 deletions

View File

@@ -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

0
fiche.c Executable file → Normal file
View File