Introduction
Introduction Statistics Contact Development Disclaimer Help
Merge pull request #9 from part1zano/master - fiche - A pastebin adjusted for g…
git clone git://vernunftzentrum.de/fiche.git
Log
Files
Refs
LICENSE
---
commit c75f4b29a15c57e901e5928f01976bb671fa5411
parent a7174e18db849169c46d64b7de6b34b46ee21f2a
Author: solusipse <[email protected]>
Date: Sat, 2 May 2015 17:14:29 +0200
Merge pull request #9 from part1zano/master
Makefile: more *BSD-friendly, got rid of mandatory gcc
Diffstat:
Makefile | 11 +++++++----
fiche.c | 0
2 files changed, 7 insertions(+), 4 deletions(-)
---
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
diff --git a/fiche.c b/fiche.c
You are viewing proxied material from vernunftzentrum.de. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.