ports/textproc/replaceit/files/patch-Makefile
Dmitry Marakasov 97b2ff7ed9 - Switch to options helpers
- Regenerate patches with `make makepatch`
2016-02-17 18:57:44 +00:00

18 lines
311 B
Text

--- 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