forked from Mirrors/freeswitch
make makefile more bsd make friendly
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4645 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
7449cfbb53
commit
ff90de1555
@ -164,16 +164,19 @@ clean:
|
|||||||
distclean: clean
|
distclean: clean
|
||||||
rm -f config.log config.status Makefile libtool portaudio-2.0.pc
|
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 $@
|
$(CC) -c $(CFLAGS) $< -o $@
|
||||||
|
|
||||||
%.lo: %.c $(MAKEFILE) $(PAINC)
|
.c.lo: $(MAKEFILE) $(PAINC)
|
||||||
$(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) $< -o $@
|
$(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) $< -o $@
|
||||||
|
|
||||||
%.o: %.cpp $(MAKEFILE) $(PAINC)
|
.cpp.o: $(MAKEFILE) $(PAINC)
|
||||||
$(CXX) -c $(CXXFLAGS) $< -o $@
|
$(CXX) -c $(CXXFLAGS) $< -o $@
|
||||||
|
|
||||||
%.o: %.asm
|
.asm.o:
|
||||||
$(NASM) $(NASMOPT) -o $@ $<
|
$(NASM) $(NASMOPT) -o $@ $<
|
||||||
|
|
||||||
bin-stamp:
|
bin-stamp:
|
||||||
|
Loading…
Reference in New Issue
Block a user