mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
07c84dec0c
Reviewed by: obrien
27 lines
760 B
Plaintext
27 lines
760 B
Plaintext
--- Makefile.orig Wed Mar 20 13:46:06 1996
|
|
+++ Makefile Sun Apr 11 16:36:21 1999
|
|
@@ -9,12 +9,12 @@
|
|
# pick gcc if you'd rather , and/or do -g instead of -O if debugging
|
|
# debugging
|
|
# DFLAGS = -DTEST -DDEBUG
|
|
-CFLAGS = -O
|
|
+CFLAGS ?= -O
|
|
XFLAGS = # xtra cflags, set by systype targets
|
|
XLIBS = # xtra libs if necessary?
|
|
# -Bstatic for sunos, -static for gcc, etc. You want this, trust me.
|
|
STATIC =
|
|
-CC = cc $(CFLAGS)
|
|
+CC ?= cc
|
|
LD = $(CC) -s # linker; defaults to stripped executables
|
|
o = o # object extension
|
|
|
|
@@ -28,7 +28,7 @@
|
|
### HARD TARGETS
|
|
|
|
nc: netcat.c
|
|
- $(LD) $(DFLAGS) $(XFLAGS) $(STATIC) -o nc netcat.c $(XLIBS)
|
|
+ $(LD) $(CFLAGS) $(DFLAGS) $(XFLAGS) $(STATIC) -o nc netcat.c $(XLIBS)
|
|
|
|
nc-dos:
|
|
@echo "DOS?! Maybe someday, but not now"
|