From ff90de155556f963b377fed5324c7b22874359a7 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Sun, 18 Mar 2007 17:28:59 +0000 Subject: [PATCH] make makefile more bsd make friendly git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4645 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/portaudio/Makefile.in | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/libs/portaudio/Makefile.in b/libs/portaudio/Makefile.in index 43684d1cc8..05eb13df97 100644 --- a/libs/portaudio/Makefile.in +++ b/libs/portaudio/Makefile.in @@ -164,16 +164,19 @@ clean: distclean: clean rm -f config.log config.status Makefile libtool portaudio-2.0.pc -%.o: %.c $(MAKEFILE) $(PAINC) +.SUFFIXES: +.SUFFIXES: .c .lo .o .cpp + +.c.o: $(MAKEFILE) $(PAINC) $(CC) -c $(CFLAGS) $< -o $@ -%.lo: %.c $(MAKEFILE) $(PAINC) +.c.lo: $(MAKEFILE) $(PAINC) $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) $< -o $@ -%.o: %.cpp $(MAKEFILE) $(PAINC) +.cpp.o: $(MAKEFILE) $(PAINC) $(CXX) -c $(CXXFLAGS) $< -o $@ -%.o: %.asm +.asm.o: $(NASM) $(NASMOPT) -o $@ $< bin-stamp: