Update of /cvsroot/pure-data/externals/iemlib/src/iemlib1 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23903/src/iemlib1
Modified Files: makefile Log Message: moved most logic from individual makefiles into Make.include
Index: makefile =================================================================== RCS file: /cvsroot/pure-data/externals/iemlib/src/iemlib1/makefile,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** makefile 14 Nov 2005 18:02:31 -0000 1.5 --- makefile 14 Nov 2005 18:17:29 -0000 1.6 *************** *** 1,37 **** ! current: all ! ! .SUFFIXES: .pd_linux
include ../../Make.include
- INCLUDE = -I. -I$(PDSOURCE) - - # the sources - SRC = $(sort $(filter %.c, $(wildcard *.c))) - - TARGET = iemlib1.pd_linux - - - OBJ = $(SRC:.c=.o) - - # - # ------------------ targets ------------------------------------ - # - - clean: - -rm ../../lib/$(TARGET) $(TARGET) - -rm *.o - - all: $(OBJ) - @echo :: $(OBJ) - ld $(LDFLAGS) -o $(TARGET) *.o $(LIB) - strip --strip-unneeded $(TARGET) - -cp $(TARGET) ../../lib - - $(OBJ) : %.o : %.c - touch $*.c - cc $(CFLAGS) $(INCLUDE) -c -o $*.o $*.c - - - - --- 1,4 ---- ! TARGET = iemlib1
include ../../Make.include