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/
|
2019-09-17 12:50:52 +00:00
|
|
|
$(MAKE) clean -C doc/rapport/
|
2004-02-16 21:25:11 +00:00
|
|
|
@rm -f *.class *~
|
|
|
|
|
|
|
|
package: clean createpackage sendtoarchives
|
|
|
|
|
|
|
|
zip:
|
|
|
|
tar -cjvf ../$(ARCHIVE) -C ../ $(PROJECT_NAME)
|
|
|
|
|