Makefile: more *BSD-friendly, got rid of mandatory gcc
This commit is contained in:
11
Makefile
11
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
|
||||
|
||||
Reference in New Issue
Block a user