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

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