l3.libnazgul/Makefile
2020-03-03 23:46:32 +01:00

29 lines
434 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/
@rm -f *.class *~
package: clean createpackage sendtoarchives
zip:
tar -cjvf ../$(ARCHIVE) -C ../ $(PROJECT_NAME)