ossp-pkg/cfg/Makefile 1.4 -> 1.5
--- Makefile 2002/07/04 14:51:21 1.4
+++ Makefile 2002/07/05 15:32:42 1.5
@@ -6,8 +6,11 @@
-Wshadow -Wpointer-arith \
-Wbad-function-cast -Wcast-align \
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations \
- -Wredundant-decls -Wnested-externs -Winline
+ -Wredundant-decls -Wnested-externs -Winline \
+ -DDMALLOCx -I/usr/opkg/include
#CFLAGS = -Wundef -W -Wconversion -Wfloat-equal -Wunreachable-code -Wwrite-strings
+LDFLAGS = -L/usr/opkg/lib
+LIBS = # -ldmalloc
AR = ar
RANLIB = ranlib
RM = rm -f
@@ -35,7 +38,7 @@
$(RANLIB) $(LIB)
$(TST): $(TST).o $(LIB)
- $(CC) -o $(TST) $(TST).o $(LIB)
+ $(CC) $(LDFLAGS) -o $(TST) $(TST).o $(LIB) $(LIBS)
clean:
$(RM) $(LIB)
|
|