git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10947
d0543943-73ff-0310-b7d9-
9358b9ac24b2
-PWD=$(shell pwd)
-INCS=-I$(PWD)/src/include
+INCS=-Isrc/include
LIBEDIT_DIR=../../libs/libedit
DEBUG=-g -ggdb
PICKY=-O2 -ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
ar rcs $(MYLIB) $(OBJS)
ranlib $(MYLIB)
+$(OBJS): $(SRC)
+ $(CC) $(CC_CFLAGS) $(CFLAGS) -c $< -o $@
+
+
testserver: $(MYLIB) testserver.c
$(CC) $(CC_CFLAGS) $(CFLAGS) testserver.c -o testserver $(LDFLAGS) $(LIBS)