2004-03-23 15:01:32 +00:00
|
|
|
--- Makefile.orig Sat Mar 13 00:21:24 2004
|
|
|
|
+++ Makefile Tue Mar 23 15:49:03 2004
|
|
|
|
@@ -32,16 +32,19 @@
|
2004-02-26 20:25:02 +00:00
|
|
|
|
|
|
|
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
|
2004-03-23 15:01:32 +00:00
|
|
|
ifneq ($(DIET),)
|
|
|
|
LIBS+=-llatin1
|
|
|
|
endif
|
2005-10-18 06:00:02 +00:00
|
|
|
+CFLAGS+=-I. -I${LOCALBASE}/include/libowfat
|
|
|
|
+LDFLAGS+=-L${LOCALBASE}/lib
|
2004-02-26 20:25:02 +00:00
|
|
|
+LIBS+=-lmd
|
|
|
|
|
|
|
|
%.o: %.c
|
|
|
|
$(DIET) $(CC) $(CFLAGS) -c $<
|