|
From: Frans S. <gu...@us...> - 2007-06-23 20:55:52
|
Update of /cvsroot/galaxyng/NG/Source In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv2335 Modified Files: Tag: Refactor_Baseline Makefile Log Message: Added a indent target that indents all the source code. Added some documentation on dependency generation. Index: Makefile =================================================================== RCS file: /cvsroot/galaxyng/NG/Source/Makefile,v retrieving revision 1.8.2.2 retrieving revision 1.8.2.3 diff -C2 -d -r1.8.2.2 -r1.8.2.3 *** Makefile 22 Jun 2007 22:23:00 -0000 1.8.2.2 --- Makefile 23 Jun 2007 20:55:52 -0000 1.8.2.3 *************** *** 16,20 **** # all versions of make. # ! # # Influence mapping: --- 16,24 ---- # all versions of make. # ! # If you use this makefile for regular developement, ! # use a ! # make depend ! # to update the dependencies. ! # # # Influence mapping: *************** *** 155,159 **** clean: ! rm -f $(GNG_OBJS) $(WOPR_OBJS) rm -f $(GALAXYNG) rm -f $(GALAXYNG).o --- 159,163 ---- clean: ! rm -f $(GNG_OBJS) $(WOPR_OBJS) $(DEPS) rm -f $(GALAXYNG) rm -f $(GALAXYNG).o *************** *** 177,180 **** --- 181,191 ---- egrep -v -G "^ \*" *.c *.h | egrep -v -G "/\*" | wc + # + # Indent all the .c files according to the settings + # in .indent.pro + # It is good to have a similar look for all sourcecode + # See man indent for more information. + indent: + indent *.c -include $(DEPS) |