mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
8e17bd7210
A light replacement to the combination of sed/awk/grep/head/tail PR: 29837 Submitted by: Patrick Li <pat@databits.net>
19 lines
337 B
Plaintext
19 lines
337 B
Plaintext
--- Makefile.orig Fri Aug 17 20:18:18 2001
|
|
+++ Makefile Fri Aug 17 20:20:35 2001
|
|
@@ -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
|