How can i make my own makefile? April 08, 2009 07:40PM | Registered: 15 years ago Posts: 4 |
Re: How can i make my own makefile? April 08, 2009 09:42PM | Admin Registered: 16 years ago Posts: 5,132 |
Re: How can i make my own makefile? April 09, 2009 01:03AM | Registered: 15 years ago Posts: 441 |
Re: How can i make my own makefile? April 09, 2009 09:42AM | Registered: 15 years ago Posts: 4 |
SUBDIRS:= `ls | egrep -v '^(CVS)$$'` DATESTRING := $(shell date +%Y)$(shell date +%m)$(shell date +%d) all: @for i in $(SUBDIRS); do if test -e $$i/Makefile ; then $(MAKE) -C $$i || { exit 1;} fi; done; clean: @rm -f *.bz2 @for i in $(SUBDIRS); do if test -e $$i/Makefile ; then $(MAKE) -C $$i clean || { exit 1;} fi; done; dist: clean @tar --exclude=*CVS* -cvjf wii-examples-$(DATESTRING).tar.bz2 *
Re: How can i make my own makefile? April 09, 2009 09:57AM | Registered: 15 years ago Posts: 441 |
Re: How can i make my own makefile? April 09, 2009 10:21AM | Registered: 15 years ago Posts: 4 |
Re: How can i make my own makefile? April 09, 2009 01:51PM | Registered: 16 years ago Posts: 265 |
Re: How can i make my own makefile? April 09, 2009 02:40PM | Registered: 15 years ago Posts: 4 |
Re: How can i make my own makefile? April 09, 2009 03:13PM | Registered: 15 years ago Posts: 73 |