Update of /cvsroot/pure-data/externals/hcs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17288
Modified Files: Makefile Log Message: added generic makefile with etags support
Index: Makefile =================================================================== RCS file: /cvsroot/pure-data/externals/hcs/Makefile,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Makefile 22 Oct 2004 02:34:32 -0000 1.11 --- Makefile 12 Jun 2006 20:41:34 -0000 1.12 *************** *** 1,22 **** ! CC=gcc ! ! pd_linux: pan_gogins~.pd_linux range.pd_linux linuxmouse.pd_linux linuxevent.pd_linux linuxjoystick.pd_linux ifeel.pd_linux platformdummy.pd_linux ! ! clean: ; rm -f *.pd_linux *.o *~ ! ! # ----------------------- LINUX i386 ----------------------- ! ! .SUFFIXES: .pd_linux ! ! LINUXCFLAGS = -DUNIX -DPD -O2 -funroll-loops -fomit-frame-pointer \ ! -Wall -W -Wshadow -Wstrict-prototypes -Werror \ ! -Wno-unused -Wno-parentheses -Wno-switch ! ! LINUXINCLUDE = -I/usr/local/lib/pd/include -I../../pd/src -I/usr/local/include ! ! .c.pd_linux: ! $(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c ! ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm ! strip --strip-unneeded $*.pd_linux ! rm $*.o ! --- 1,17 ---- ! TARGET := $(shell pwd | sed 's|.*/(.*)$$|\1|') ! EXTERNALS_ROOT := $(shell pwd | sed 's|^(/.*externals).*|\1|') ! ! default: ! make -C $(EXTERNALS_ROOT) $(TARGET) ! ! install: ! make -C $(EXTERNALS_ROOT) $(TARGET)_install ! ! clean: ! make -C $(EXTERNALS_ROOT) $(TARGET)_clean ! ! test_locations: ! make -C $(EXTERNALS_ROOT) test_locations ! ! etags: ! etags *.[ch] ~/cvs/pure-data/pd/src/*.[ch] /usr/include/*.h /usr/include/sys/*.h