add core wanpipe headers etc and tweak build flags

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@10 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Anthony Minessale committed 2007-05-17 03:31:21 +00:00
1 parent fcbd79567c
commit 7e3412baf1
6 files changed
+56 -8

No files matched your search

+10 -3
View File
@@ -35,13 +35,20 @@ MYLIB=libopenzap.a
include general.makefile $(ZAP_MODS)
all: $(MYLIB)
$(MYLIB): $(OBJS)
ar rcs $(MYLIB) $(OBJS)
ranlib $(MYLIB)
%.o: %.c
$(CC) $(CFLAGS) -c $< -o $@
all: $(MYLIB)
zap_wanpipe.o: zap_wanpipe.c
$(CC) $(CFLAGS) $(ZAP_CFLAGS) $(WP_CFLAGS) -c $< -o $@
zap_zt.o: zap_zt.c
$(CC) $(CFLAGS) $(ZAP_CFLAGS) $(ZT_CFLAGS) -c $< -o $@
%.o: %.c
$(CC) $(CC_CFLAGS) $(CFLAGS) -c $< -o $@
clean:
rm -f *.o $(MYLIB) *~ \#*