1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-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

19 lines
311 B
Plaintext

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