From afcc875edd92e8562b8b2f8a59d1fca9ad701767 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Fri, 26 Dec 2008 17:00:51 +0000 Subject: [PATCH] fix bsd make git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10947 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/esl/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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)