l3.libnazgul/Makefile

30 lines
465 B
Makefile

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:
$(MAKE) -C doc/rapport
clean:
$(MAKE) clean -C src/
$(MAKE) clean -C test/
$(MAKE) clean -C doc/rapport/
@rm -f *.class *~
package: clean createpackage sendtoarchives
zip:
tar -cjvf ../$(ARCHIVE) -C ../ $(PROJECT_NAME)