From: Michael Jerris Date: Fri, 26 Dec 2008 17:00:51 +0000 (+0000) Subject: fix bsd make X-Git-Tag: v1.0.2~83 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afcc875edd92e8562b8b2f8a59d1fca9ad701767;p=thirdparty%2Ffreeswitch.git fix bsd make git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10947 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/libs/esl/Makefile b/libs/esl/Makefile index 8568198f7e..0de016ef1c 100644 --- a/libs/esl/Makefile +++ b/libs/esl/Makefile @@ -1,5 +1,4 @@ -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 @@ -17,6 +16,10 @@ $(MYLIB): $(OBJS) $(HEADERS) $(SRC) 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)