summaryrefslogtreecommitdiff
blob: 1c86a53e9c04a7dc06a5b14f5f15ad2efc9bc07d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Julian Ospald <hasufell@gentoo.org>
Date: Wed Nov 14 23:22:15 UTC 2012
Subject: build system

	respect CC, CFLAGS, CPPFLAGS and LDFLAGS

--- a/Makefile
+++ b/Makefile
@@ -6,15 +6,11 @@
 MANPATH=/usr/man
 COMPILE=gcc
 ROFF=groff
-CFLAGS=
-CLIBS=-lshhopt
+LDLIBS=-lshhopt
 INSTALL=install
 
 all:	mvcase mvcase.1.gz
 
-mvcase: mvcase.c
-	$(COMPILE) $(CFLAGS) mvcase.c -o mvcase $(CLIBS)
-
 mvcase.1.gz: mvcase.1
 	$(ROFF) -man -Tascii mvcase.1 | gzip > mvcase.1.gz