mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
33 lines
892 B
Plaintext
33 lines
892 B
Plaintext
--- Makefile.orig Thu Mar 11 01:58:41 1999
|
|
+++ Makefile Sun Sep 12 20:59:30 1999
|
|
@@ -1,21 +1,21 @@
|
|
-CC=gcc
|
|
-GTK_FLAGS=`gtk-config --cflags` `gtk-config --libs`
|
|
+CC?=gcc
|
|
+GTK_FLAGS=`gtk12-config --cflags` `gtk12-config --libs`
|
|
|
|
all: gtkportscan portscan
|
|
|
|
portscan: portscan.c
|
|
- $(CC) -O2 -Wall portscan.c -o portscan -g
|
|
+ $(CC) $(CFLAgS) -Wall portscan.c -o portscan ${CFLAGS}
|
|
|
|
gtkportscan: gtkportscan.c
|
|
- $(CC) -Wall $(GTK_FLAGS) gtkportscan.c -o gtkportscan -g
|
|
+ $(CC) -Wall $(GTK_FLAGS) gtkportscan.c -o gtkportscan ${CFLAGS}
|
|
|
|
install:
|
|
- cp portscan /usr/local/bin
|
|
- cp gtkportscan /usr/X11/bin
|
|
+ ${BSD_INSTALL_PROGRAM} portscan ${PREFIX}/bin
|
|
+ ${BSD_INSTALL_PROGRAM} gtkportscan ${PREFIX}/bin
|
|
|
|
clean:
|
|
rm -f portscan gtkportscan
|
|
|
|
uninstall:
|
|
- rm -f /usr/local/bin/portscan
|
|
- rm -f /usr/X11/bin/gtkportscan
|
|
+ rm -f ${PREFIX}/bin/portscan
|
|
+ rm -f ${PREFIX}/bin/gtkportscan
|