forked from Lainports/freebsd-ports
22 lines
540 B
Text
22 lines
540 B
Text
--- Makefile.orig 2005-07-08 17:30:27.000000000 +0800
|
|
+++ Makefile 2014-06-27 23:13:45.387524232 +0800
|
|
@@ -1,8 +1,8 @@
|
|
VERSION=1.2
|
|
|
|
DEBUG=#-g
|
|
-LDFLAGS=$(DEBUG)
|
|
-CFLAGS=-O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG)
|
|
+LDFLAGS+=$(DEBUG)
|
|
+CFLAGS+=-DVERSION=\"$(VERSION)\" -DMADV_SEQUENTIAL $(DEBUG)
|
|
|
|
OBJS=phantom.o
|
|
|
|
@@ -12,7 +12,7 @@ phantom: $(OBJS)
|
|
$(CC) -Wall -W $(OBJS) $(LDFLAGS) -o phantom
|
|
|
|
install: phantom
|
|
- cp phantom $(DESTDIR)/usr/bin
|
|
+ ${INSTALL} -m 755 phantom $(DESTDIR)${PREFIX}/bin
|
|
|
|
clean:
|
|
rm -f $(OBJS) core phantom
|