[Trainsched-commit] trainsched Makefile,1.8,1.9
Brought to you by:
philm
|
From: Steve M. <sma...@us...> - 2009-04-26 08:27:29
|
Update of /cvsroot/trainsched/trainsched In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv2482 Modified Files: Makefile Log Message: Undo of commit to wrong branch. Index: Makefile =================================================================== RCS file: /cvsroot/trainsched/trainsched/Makefile,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Makefile 26 Apr 2009 08:11:11 -0000 1.8 --- Makefile 26 Apr 2009 08:27:24 -0000 1.9 *************** *** 2,9 **** # Macros ! VERS=0.4 PROGRAM=trainsched CC=m68k-palmos-gcc PILRC=pilrc OBJRES=m68k-palmos-obj-res --- 2,10 ---- # Macros ! VERS=0.5pre2 PROGRAM=trainsched CC=m68k-palmos-gcc + CPP=cpp PILRC=pilrc OBJRES=m68k-palmos-obj-res *************** *** 11,17 **** BUILDPRC=build-prc APID=TRSC ! CFLAGS=-palmos5r4 -Wall -g LFLAGS=-g SOURCES=selectform.c timetable.c trainsched.c OBJS=selectform.o timetable.o trainsched.o --- 12,25 ---- BUILDPRC=build-prc APID=TRSC ! CFLAGS=-palmos5r3 -Wall -g LFLAGS=-g + #INCLUDE=-Ipalmresize -I. + #DEFINES=-DSUPPORT_DIA -DSUPPORT_DIA_SONY -DSUPPORT_DIA_HANDERA + + #SONY=-I/usr/local/share/palmdev/sony-sdk/Libraries -I/usr/local/share/palmdev/sony-sdk/System -I/usr/local/share/palmdev/sony-sdk + #HANDERA=-I/usr/local/share/palmdev/Handera + #SOURCES=trainsched.c palmresize/resize.c palmresize/DIA.c + #OBJS=trainsched.o palmresize/resize.o palmresize/DIA.o SOURCES=selectform.c timetable.c trainsched.c OBJS=selectform.o timetable.o trainsched.o *************** *** 19,22 **** --- 27,32 ---- RESOURCES=$(PROGRAM).rcp + #INCLUDE += $(SONY) $(HANDERA) + #### *************** *** 25,28 **** --- 35,41 ---- all: $(PRC) + .c.o: + $(CC) $(CFLAGS) $(INCLUDE) $(DEFINES) -c $< -o $@ + $(PRC): $(PROGRAM) bin.res $(BUILDPRC) $(PRC) $(ICONTEXT) $(APID) *.bin *.grc *************** *** 32,36 **** $(OBJRES) $(PROGRAM) ! bin.res: $(RESOURCES) trainsched.h trainsched.bmp $(PILRC) $(RESOURCES) touch bin.res --- 45,54 ---- $(OBJRES) $(PROGRAM) ! bin.res.dia: $(RESOURCES) trainsched.h trainsched.bmp ! sed 's/\\$$/@backslash@/' $(RESOURCES) | $(CPP) | perl doaddition.pl > $(PROGRAM)-done.rcp && \ ! $(PILRC) $(PROGRAM)-done.rcp ! touch bin.res ! ! bin.res: $(RESOURCES) trainsched.h trainsched.bmp $(PILRC) $(RESOURCES) touch bin.res *************** *** 40,44 **** clean: ! rm -f *.bin *.grc *.o bin.res tags $(PRC) $(PROGRAM) dist-win: clean all --- 58,62 ---- clean: ! rm -f *.bin *.grc *.o palmresize/*.o bin.res tags $(PRC) $(PROGRAM) dist-win: clean all *************** *** 68,76 **** rm -rf $(PROGRAM)-src-$(VERS) ! #### ! # Dependency targets ! ! trainsched.o: trainsched.c trainsched.h ! --- 86,96 ---- rm -rf $(PROGRAM)-src-$(VERS) + depends: + makedepend $(SOURCES) >/dev/null 2>&1 + # + # Dependency information generated by "make depends" + # + # DO NOT DELETE ! trainsched.o: trainsched.h |