[PD-cvs] SF.net SVN: pure-data: [9990] trunk/externals/iem/dmx512/src

zmoelnig at users.sourceforge.net zmoelnig at users.sourceforge.net
Fri Jun 13 14:44:41 CEST 2008


Revision: 9990
          http://pure-data.svn.sourceforge.net/pure-data/?rev=9990&view=rev
Author:   zmoelnig
Date:     2008-06-13 05:44:31 -0700 (Fri, 13 Jun 2008)

Log Message:
-----------
trying to fix makefile

Modified Paths:
--------------
    trunk/externals/iem/dmx512/src/Makefile
    trunk/externals/iem/dmx512/src/dmxout.c

Modified: trunk/externals/iem/dmx512/src/Makefile
===================================================================
--- trunk/externals/iem/dmx512/src/Makefile	2008-06-13 11:36:22 UTC (rev 9989)
+++ trunk/externals/iem/dmx512/src/Makefile	2008-06-13 12:44:31 UTC (rev 9990)
@@ -5,7 +5,7 @@
 Make.config: Make.config.in configure
 	./configure
 
-include Make.config
+-include Make.config
 
 .SUFFIXES: .$(EXT)
 
@@ -16,11 +16,14 @@
 all: $(OBJECTS)
 
 clean:
-	-rm -f *.o *.d
+	-rm -f *.o *.d 
 
 binclean:
-	-rm -f *.$(EXT)
+	-rm -f *.$(EXT) *.dll *.pd_linux *.pd_darwin *.l_i386 *.l_ia64 *.d_ppc *.d_fat 
 
+mrproper: distclean
+	-rm Make.config configure *.d.*
+
 distclean: clean binclean
 	-rm -f *~ _* config.*
 	-rm -rf autom4te.cache
@@ -44,13 +47,15 @@
 everything: clean all install distclean
 
 
-$(TARGETS): %.o : %.c
+$(TARGETS): %.o : %.c Make.config
 	$(CC) $(DMX4PD_CFLAGS) -DDMX4PD_VERSION="\"$(VERSION)\"" -c -o $@ $*.c
 
 $(OBJECTS): %.$(EXT) : %.o
 	$(LD) $(LFLAGS) -o $@ $*.o $(LIBS)
 	$(STRIP) $(STRIPFLAGS) $@
 
+
+ifeq (,$(findstring clean, $(MAKECMDGOALS)))
 ## 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)
@@ -62,3 +67,4 @@
 
 configure: configure.ac
 	autoconf
+endif

Modified: trunk/externals/iem/dmx512/src/dmxout.c
===================================================================
--- trunk/externals/iem/dmx512/src/dmxout.c	2008-06-13 11:36:22 UTC (rev 9989)
+++ trunk/externals/iem/dmx512/src/dmxout.c	2008-06-13 12:44:31 UTC (rev 9990)
@@ -152,5 +152,5 @@
   class_addfloat(dmxout_class, dmxout_float);
 
 
-  post("DMX4PD (%s): (c) 2008 IOhannes m zm\xF6lnig - iem @ kug", DMX4PD_VERSION);
+  post("DMX4PD (ver.%s): (c) 2008 IOhannes m zm\xF6lnig - iem @ kug", DMX4PD_VERSION);
 }


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Pd-cvs mailing list