Update of /cvsroot/pure-data/externals/zexy/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv449
Modified Files: Makefile Log Message: better dependencies; regenerate z_zexy.{c,h} if necessary
Index: Makefile =================================================================== RCS file: /cvsroot/pure-data/externals/zexy/src/Makefile,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Makefile 15 Dec 2005 16:06:56 -0000 1.8 --- Makefile 6 Mar 2006 11:44:59 -0000 1.9 *************** *** 5,12 **** install install-bin install-doc install-abs
! SOURCES=$(sort $(filter %.c, $(wildcard *.c))) ! ! Make.config: Make.config.in configure ! ./configure
zexyconf.h: zexyconf.h.in configure --- 5,9 ---- install install-bin install-doc install-abs
! SOURCES=$(sort $(filter %.c, $(wildcard *.c)) z_zexy.c)
zexyconf.h: zexyconf.h.in configure *************** *** 21,27 **** ifeq (,$(findstring clean, $(MAKECMDGOALS))) -include $(SOURCES:.c=.d) ! -include Make.config endif
## 2nd only generate depend-files when we have Make.config included ## and thus MAKEDEP_FLAGS defined --- 18,32 ---- ifeq (,$(findstring clean, $(MAKECMDGOALS))) -include $(SOURCES:.c=.d) ! ! Make.config: Make.config.in configure ! ./configure ! ! z_zexy.c z_zexy.h: ! ./makesource.sh endif
+ -include Make.config + + ## 2nd only generate depend-files when we have Make.config included ## and thus MAKEDEP_FLAGS defined *************** *** 44,48 **** cp $(LIBNAME).$(EXT) ..
! $(LIBNAME): $(TARGETS) $(LD) $(LFLAGS) -o $(LIBNAME).$(EXT) *.o $(LIBS) $(STRIP) $(STRIPFLAGS) $(LIBNAME).$(EXT) --- 49,53 ---- cp $(LIBNAME).$(EXT) ..
! $(LIBNAME): $(TARGETS) z_zexy.c z_zexy.h $(LD) $(LFLAGS) -o $(LIBNAME).$(EXT) *.o $(LIBS) $(STRIP) $(STRIPFLAGS) $(LIBNAME).$(EXT)