[PD-cvs] externals/iem/iem_bin_ambi/src Makefile,1.1,1.2

IOhannes m zmölnig zmoelnig at users.sourceforge.net
Wed Mar 1 13:23:47 CET 2006


Update of /cvsroot/pure-data/externals/iem/iem_bin_ambi/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24303

Modified Files:
	Makefile 
Log Message:
updated to autogenerate iem_bin_ambi_sources.* when needed

Index: Makefile
===================================================================
RCS file: /cvsroot/pure-data/externals/iem/iem_bin_ambi/src/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Makefile	1 Mar 2006 12:13:45 -0000	1.1
--- Makefile	1 Mar 2006 12:23:45 -0000	1.2
***************
*** 7,12 ****
--- 7,17 ----
  SOURCES=$(sort $(filter %.c, $(wildcard *.c)))
  
+ ifeq (,$(findstring clean, $(MAKECMDGOALS)))
  Make.config: Make.config.in configure
  	./configure
+ endif
+ 
+ iem_bin_ambi_sources.c iem_bin_ambi_sources.h:
+ 	./makesource.sh
  
  configure: configure.ac
***************
*** 18,24 ****
  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
--- 23,30 ----
  ifeq (,$(findstring clean, $(MAKECMDGOALS)))
  -include $(SOURCES:.c=.d)
  endif
  
+ -include Make.config
+ 
  ##  2nd only generate depend-files when we have Make.config included
  ##  and thus MAKEDEP_FLAGS defined
***************
*** 41,45 ****
  	cp $(LIBNAME).$(EXT) ..
  
! $(LIBNAME): $(TARGETS)
  	$(LD) $(LFLAGS) -o $(LIBNAME).$(EXT) *.o $(LIBS)
  	$(STRIP) $(STRIPFLAGS) $(LIBNAME).$(EXT)
--- 47,51 ----
  	cp $(LIBNAME).$(EXT) ..
  
! $(LIBNAME): $(TARGETS) iem_bin_ambi_sources.c iem_bin_ambi_sources.h
  	$(LD) $(LFLAGS) -o $(LIBNAME).$(EXT) *.o $(LIBS)
  	$(STRIP) $(STRIPFLAGS) $(LIBNAME).$(EXT)





More information about the Pd-cvs mailing list