Revision: 15772 http://pure-data.svn.sourceforge.net/pure-data/?rev=15772&view=rev Author: zmoelnig Date: 2011-11-16 17:25:58 +0000 (Wed, 16 Nov 2011) Log Message: ----------- updated to newer template version
thats a unified diff against the current template/Makefile: --- ../../template/Makefile 2011-11-02 10:22:03.371518202 +0100 +++ Makefile 2011-11-16 18:23:00.467510299 +0100 @@ -1,22 +1,77 @@ ## Pd library template version 1.0.12 # For instructions on how to use this template, see: # http://puredata.info/docs/developer/MakefileTemplate -LIBRARY_NAME = template +LIBRARY_NAME = iemguts
# add your .c source files, one object per file, to the SOURCES # variable, help files will be included automatically, and for GUI # objects, the matching .tcl file too -SOURCES = mycobject.c +SOURCES = \ + autoabstraction.c \ + canvasargs.c \ + canvasconnections.c \ + canvasdelete.c \ + canvasdollarzero.c \ + canvaserror.c \ + canvasindex.c \ + canvasname.c \ + canvasobjectposition.c \ + canvasposition.c \ + canvasselect.c \ + classtest.c \ + oreceive.c \ + propertybang.c \ + receivecanvas.c \ + savebangs.c \ + sendcanvas.c \ + try.c + +HELPPATCHES = \ + help/autoabstraction-help.pd \ + help/canvasargs-help.pd \ + help/canvasconnections-help.pd \ + help/canvasdelete-help.pd \ + help/canvasdollarzero-help.pd \ + help/canvaserror-help.pd \ + help/canvasindex-help.pd \ + help/canvasname-help.pd \ + help/canvasobjectposition-help.pd \ + help/canvasposition-help.pd \ + help/canvasselect-help.pd \ + help/classtest-help.pd \ + help/oreceive-help.pd \ + help/propertybang-help.pd \ + help/receivecanvas-help.pd \ + help/savebangs-help.pd \ + help/sendcanvas-help.pd \ + help/try-help.pd
# list all pd objects (i.e. myobject.pd) files here, and their helpfiles will # be included automatically -PDOBJECTS = mypdobject.pd +PDOBJECTS =
# example patches and related files, in the 'examples' subfolder -EXAMPLES = bothtogether.pd +EXAMPLES = \ + 03.persistent_properties.pd \ + 04.moving_in_gem.pd \ + 05.flies.pd \ + 06.interacting_sound.pd \ + disconnectme.pd \ + fly.pd \ + FM~.pd \ + gemmover.pd \ + gopcanvas.pd \ + mover.pd \ + randomoffset.pd \ + randomwalk.pd \ + sink~.pd \ + valX~.pd \ + valY~.pd \ + versioning.pd +
# manuals and related files, in the 'manual' subfolder -MANUAL = manual.txt +MANUAL =
# if you want to include any other files in the source and binary tarballs, # list them here. This can be anything from header files, test patches, @@ -24,7 +79,7 @@ # automatically included EXTRA_DIST =
- +VPATH=src
#------------------------------------------------------------------------------# # @@ -66,8 +121,10 @@ INSTALL_DATA = $(INSTALL) -p -m 644 INSTALL_DIR = $(INSTALL) -p -m 755 -d
-ALLSOURCES := $(SOURCES) $(SOURCES_android) $(SOURCES_cygwin) $(SOURCES_macosx) \ +ALLSOURCES_tmp = $(SOURCES) $(SOURCES_android) $(SOURCES_cygwin) $(SOURCES_macosx) \ $(SOURCES_iphoneos) $(SOURCES_linux) $(SOURCES_windows) +ALLSOURCES:=$(ALLSOURCES_tmp:%=src/%) +
DISTDIR=$(LIBRARY_NAME)-$(LIBRARY_VERSION) ORIGDIR=pd-$(LIBRARY_NAME:~=)_$(LIBRARY_VERSION) @@ -234,7 +291,7 @@
SHARED_SOURCE ?= $(wildcard lib$(LIBRARY_NAME).c) SHARED_HEADER ?= $(shell test ! -e $(LIBRARY_NAME).h || echo $(LIBRARY_NAME).h) -SHARED_LIB = $(SHARED_SOURCE:.c=.$(SHARED_EXTENSION)) +SHARED_LIB = lib$(LIBRARY_NAME).$(SHARED_EXTENSION) SHARED_TCL_LIB = $(wildcard lib$(LIBRARY_NAME).tcl)
.PHONY = install libdir_install single_install install-doc install-examples install-manual clean distclean dist etags $(LIBRARY_NAME) @@ -242,19 +299,19 @@ all: $(SOURCES:.c=.$(EXTENSION)) $(SHARED_LIB)
%.o: %.c - $(CC) $(ALL_CFLAGS) -o "$*.o" -c "$*.c" + $(CC) $(ALL_CFLAGS) -o $@ -c $<
%.$(EXTENSION): %.o $(SHARED_LIB) - $(CC) $(ALL_LDFLAGS) -o "$*.$(EXTENSION)" "$*.o" $(ALL_LIBS) $(SHARED_LIB) - chmod a-x "$*.$(EXTENSION)" + $(CC) $(ALL_LDFLAGS) -o $@ $^ $(ALL_LIBS) + chmod a-x $@
# this links everything into a single binary file $(LIBRARY_NAME): $(SOURCES:.c=.o) $(LIBRARY_NAME).o - $(CC) $(ALL_LDFLAGS) -o $(LIBRARY_NAME).$(EXTENSION) $(SOURCES:.c=.o) $(LIBRARY_NAME).o $(ALL_LIBS) - chmod a-x $(LIBRARY_NAME).$(EXTENSION) + $(CC) $(ALL_LDFLAGS) -o $@ $^ $(ALL_LIBS) + chmod a-x $@
$(SHARED_LIB): $(SHARED_SOURCE:.c=.o) - $(CC) $(SHARED_LDFLAGS) -o $(SHARED_LIB) $(SHARED_SOURCE:.c=.o) $(LIBS) + $(CC) $(SHARED_LDFLAGS) -o $@ $^ $(LIBS)
install: libdir_install
Modified Paths: -------------- trunk/externals/iem/iemguts/Makefile
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.