2004-02-16 21:25:11 +00:00
|
|
|
|
|
|
|
PROJECT_NAME=libnazgul
|
|
|
|
TIMESTAMP:= $(shell date +"%Y-%m-%d_r%H%M")
|
|
|
|
ARCHIVE:= $(PROJECT_NAME)-$(TIMESTAMP).tar.bz2
|
|
|
|
LOCALDIR=$(shell pwd)
|
|
|
|
|
|
|
|
all: subdir
|
|
|
|
|
|
|
|
run:
|
|
|
|
( cd src/ ; \
|
|
|
|
$(MAKE) run )
|
|
|
|
|
|
|
|
subdir:
|
|
|
|
$(MAKE) -C src/
|
|
|
|
$(MAKE) -C test/
|
|
|
|
|
|
|
|
doc:
|
2004-02-26 10:52:40 +00:00
|
|
|
$(MAKE) -C doc/rapport
|
2004-02-16 21:25:11 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
$(MAKE) clean -C src/
|
|
|
|
$(MAKE) clean -C test/
|
|
|
|
@rm -f *.class *~
|
|
|
|
|
|
|
|
package: clean createpackage sendtoarchives
|
|
|
|
|
|
|
|
zip:
|
|
|
|
tar -cjvf ../$(ARCHIVE) -C ../ $(PROJECT_NAME)
|
|
|
|
|