mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
21 lines
499 B
Plaintext
21 lines
499 B
Plaintext
|
--- src/Makefile.orig Mon May 22 23:57:05 2000
|
||
|
+++ src/Makefile Wed Oct 18 10:14:25 2000
|
||
|
@@ -17,14 +17,15 @@
|
||
|
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||
|
|
||
|
PROG= cksfv
|
||
|
+CC?= gcc
|
||
|
CFLAGS+= -Wall -Werror -O2
|
||
|
SRCS= cksfv.c print.c crc32.c readsfv.c newsfv.c
|
||
|
|
||
|
cksfv: $(SRCS)
|
||
|
- gcc $(CFLAGS) -o $(PROG) $(SRCS)
|
||
|
+ $(CC) $(CFLAGS) -o $(PROG) $(SRCS)
|
||
|
|
||
|
install: cksfv
|
||
|
- cp $(PROG) /usr/local/bin
|
||
|
+ $(BSD_INSTALL_PROGRAM) $(PROG) $(PREFIX)/bin
|
||
|
|
||
|
clean:
|
||
|
rm -f *.o *~ *.core $(PROG)
|