[PD-cvs] externals/zexy/src Makefile,1.2,1.3
IOhannes m zmölnig
zmoelnig at users.sourceforge.net
Tue Nov 29 17:30:47 CET 2005
- Previous message: [PD-cvs] pd/src SConscript,1.1.4.36,1.1.4.37
- Next message: [PD-cvs] externals/zexy/src zexyconf.h.in, NONE, 1.1 Make.config, 1.2, 1.3 Makefile, 1.3, 1.4 configure.ac, 1.10, 1.11 lpt.c, 1.7, 1.8 regex.c, 1.1, 1.2 zexy.h, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/pure-data/externals/zexy/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21137
Modified Files:
Makefile
Log Message:
hopefully fixed the dependencies of .d and Make.config and ....
this should ease the build
Index: Makefile
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Makefile 27 Oct 2005 21:15:33 -0000 1.2
--- Makefile 29 Nov 2005 16:30:45 -0000 1.3
***************
*** 1,4 ****
--- 1,10 ----
default: all
+ .PHONEY: default all everything dist \
+ clean realclean distclean \
+ install install-bin install-doc install-abs
+
+ SOURCES=$(sort $(filter %.c, $(wildcard *.c)))
+
Make.config: Make.config.in configure
./configure
***************
*** 8,16 ****
autoconf
! include Make.config
! .SUFFIXES: .$(EXT)
! SOURCES=$(sort $(filter %.c, $(wildcard *.c)))
TARGETS = $(SOURCES:.c=.o)
--- 14,38 ----
autoconf
! ## uaehh, here comes some magic
! ## 1st we don't want depend and config-makefiles to be included on "clean"-targets
! 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
! ifdef MAKEDEP_FLAGS
! ## dependencies: as proposed by the GNU-make documentation
! ## see http://www.gnu.org/software/make/manual/html_node/make_47.html#SEC51
! %.d: %.c
! @set -e; rm -f $@; \
! $(CPP) $(MAKEDEP_FLAGS) $(Z_CFLAGS) $< > $@.$$$$; \
! sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
! rm -f $@.$$$$
! endif
!
! .SUFFIXES: .$(EXT)
TARGETS = $(SOURCES:.c=.o)
***************
*** 31,42 ****
-rm -f *.$(EXT) *.o
! cleaner: clean
-rm -f *~ _* config.*
-rm -f *.d *.d.*
! cleanest: cleaner
! -rm -f Makefile ../*.$(EXT)
!
! distclean: cleanest
install: install-bin install-doc install-abs
--- 53,62 ----
-rm -f *.$(EXT) *.o
! realclean: clean
-rm -f *~ _* config.*
-rm -f *.d *.d.*
! distclean: realclean
! -rm -f Make.config ../*.$(EXT)
install: install-bin install-doc install-abs
***************
*** 54,68 ****
-install -m 644 ../abs/*.pd $(INSTALL_BIN)
! dist: all cleaner
(cd ../..;tar czvf $(TARNAME) $(LIBNAME))
everything: clean all install distclean
- ## dependencies: as proposed by the GNU-make documentation
- ## see http://www.gnu.org/software/make/manual/html_node/make_47.html#SEC51
- -include $(SOURCES:.c=.d)
- %.d: %.c
- @set -e; rm -f $@; \
- $(CC) $(MAKEDEP_FLAGS) $(Z_CFLAGS) $< > $@.$$$$; \
- sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
- rm -f $@.$$$$
--- 74,80 ----
-install -m 644 ../abs/*.pd $(INSTALL_BIN)
! dist: all realclean
(cd ../..;tar czvf $(TARNAME) $(LIBNAME))
everything: clean all install distclean
- Previous message: [PD-cvs] pd/src SConscript,1.1.4.36,1.1.4.37
- Next message: [PD-cvs] externals/zexy/src zexyconf.h.in, NONE, 1.1 Make.config, 1.2, 1.3 Makefile, 1.3, 1.4 configure.ac, 1.10, 1.11 lpt.c, 1.7, 1.8 regex.c, 1.1, 1.2 zexy.h, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Pd-cvs
mailing list