[Freeswitch-svn] [commit] r10947 - freeswitch/trunk/libs/esl

FreeSWITCH SVN mikej at freeswitch.org
Fri Dec 26 09:00:51 PST 2008


Author: mikej
Date: Fri Dec 26 12:00:51 2008
New Revision: 10947

Log:
fix bsd make

Modified:
   freeswitch/trunk/libs/esl/Makefile

Modified: freeswitch/trunk/libs/esl/Makefile
==============================================================================
--- freeswitch/trunk/libs/esl/Makefile	(original)
+++ freeswitch/trunk/libs/esl/Makefile	Fri Dec 26 12:00:51 2008
@@ -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 @@
 	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)
 



More information about the Freeswitch-svn mailing list