404f37acb4
Approved by: portmgr@ (blanket approval)
25 lines
551 B
Text
25 lines
551 B
Text
--- Makefile.orig 2002-07-03 13:22:08.000000000 +0800
|
|
+++ Makefile 2014-06-27 00:45:38.945108983 +0800
|
|
@@ -1,8 +1,8 @@
|
|
|
|
-CFLAGS = -Wall -O
|
|
+CFLAGS += -Wall
|
|
|
|
-CC = gcc
|
|
-DESTDIR=/usr/local
|
|
+CC ?= gcc
|
|
+#DESTDIR= ${PREFIX}
|
|
|
|
all: flasher man
|
|
|
|
@@ -16,8 +16,8 @@ man: flasher.1.gz
|
|
|
|
install: flasher man
|
|
strip flasher
|
|
- install flasher $(DESTDIR)/sbin/flasher
|
|
- install flasher.1.gz $(DESTDIR)/man/man1
|
|
+ install flasher $(DESTDIR)${PREFIX}/sbin/flasher
|
|
+ install flasher.1.gz $(DESTDIR)${PREFIX}/man/man1
|
|
|
|
clean:
|
|
rm -f *.o flasher flasher.1.gz
|