mirror of
https://git.freebsd.org/ports.git
synced 2025-05-29 17:36:28 -04:00
- Use ECHO_MSG, SUB_FILES - Switch to PLIST_FILES PR: ports/172043 Submitted by: KATO Tsuguru <tkato432@yahoo.com> Feature safe: yes
25 lines
536 B
Text
25 lines
536 B
Text
--- Makefile.orig 1998-08-13 17:17:57.000000000 +0900
|
|
+++ Makefile 2012-09-08 03:33:04.000000000 +0900
|
|
@@ -1,11 +1,11 @@
|
|
# Makefile
|
|
|
|
-CC=gcc
|
|
+CC?=cc
|
|
#DEBUG=-g -DDEBUG
|
|
|
|
# Add -DLINUX if you compile on Linux
|
|
# Thanks to Gary Miller <gem@rellim.com>
|
|
-CFLAGS=-O2 -Wall
|
|
+CFLAGS?=-O -pipe
|
|
OBJS=main.o null.o ether.o ip.o
|
|
LIBS= -lpcap
|
|
SRC=$(OBJS:%.o=%.c)
|
|
@@ -13,7 +13,7 @@
|
|
all: tdetect
|
|
|
|
tdetect: $(OBJS)
|
|
- $(CC) $(OBJS) $(LIBS) $(DEBUG) -s -o tdetect
|
|
+ $(CC) $(OBJS) $(LIBS) $(DEBUG) -o tdetect
|
|
|
|
clean:
|
|
rm -f *.o tdetect *.b
|