Merge pull request #9 from part1zano/master
Makefile: more *BSD-friendly, got rid of mandatory gcc
This commit is contained in:
11
Makefile
11
Makefile
@@ -4,12 +4,15 @@
|
|||||||
# solusipse.net
|
# solusipse.net
|
||||||
# -----------------------------------
|
# -----------------------------------
|
||||||
|
|
||||||
CC=gcc
|
CFLAGS+=-pthread -O2
|
||||||
CFLAGS=-pthread -O2
|
|
||||||
prefix=/usr/local
|
|
||||||
|
|
||||||
all: fiche.c
|
all: fiche.c
|
||||||
$(CC) -o fiche $(CFLAGS) fiche.c
|
$(CC) -o fiche $(CFLAGS) fiche.c
|
||||||
|
|
||||||
install: fiche
|
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