summaryrefslogtreecommitdiff
path: root/textproc/replaceit/files/patch-Makefile
blob: 766645bf8681d23050625e407505aba37d403755 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- Makefile.orig	2002-04-19 09:08:58 UTC
+++ Makefile
@@ -1,12 +1,11 @@
-PRF=-O2 -Wall
-CC=cc
+CFLAGS+=	-Wall
+all: replaceit
 
 replaceit: replaceit.c
-	$(CC) $(PRF) replaceit.c -o replaceit
+	$(CC) $(CFLAGS) $< -o $@
 
 clean:
 	rm replaceit
 
-all: install
 install: replaceit
 	cp replaceit /usr/local/bin