mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
df643d5a10
Reported by: kris
28 lines
500 B
Plaintext
28 lines
500 B
Plaintext
--- Makefile.orig Sat Mar 13 00:21:24 2004
|
|
+++ Makefile Tue Mar 23 15:49:03 2004
|
|
@@ -32,16 +32,19 @@
|
|
|
|
auth.a: auth.o
|
|
|
|
-DIET=/opt/diet/bin/diet -Os
|
|
-CC=gcc
|
|
-CFLAGS=-pipe -I. -Wall -W
|
|
+DIET=
|
|
+CC?=gcc
|
|
+CFLAGS?=-pipe -I. -Wall -W
|
|
ifneq ($(DEBUG),)
|
|
-DIET=/opt/diet/bin/diet
|
|
-CFLAGS=-pipe -I. -Wall -W -g
|
|
+DIET=
|
|
+CFLAGS+=-g
|
|
endif
|
|
ifneq ($(DIET),)
|
|
LIBS+=-llatin1
|
|
endif
|
|
+CFLAGS+=-I. -I${LOCALBASE}/include/libowfat
|
|
+LDFLAGS+=-L${LOCALBASE}/lib
|
|
+LIBS+=-lmd
|
|
|
|
%.o: %.c
|
|
$(DIET) $(CC) $(CFLAGS) -c $<
|