X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=Makefile;h=a16c13cbf286245bd4e3e88202f34a8ae21afa62;hp=e9e6678c0264f7925f409977b1708668b56b79d4;hb=bce17a4fab0759bd0818c44bdf3cd17edb388267;hpb=2334b6cb53c0bdea347da4b369602bdd8cf6fbbd diff --git a/Makefile b/Makefile index e9e6678..a16c13c 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ clean src-clean gtags-clean \ test-clean doc-clean doc_inner-clean -CMD := casl2 comet2 dumpword +CMD := casl2 comet2 dumpword disassemble CAT := cat CP := cp @@ -23,6 +23,7 @@ XARGS := xargs prefix ?= ~ bindir ?= $(prefix)/bin +libdir ?= $(prefix)/share VERSION := $(shell $(CAT) VERSION) @@ -31,8 +32,8 @@ VERSIONGITREF := $(shell $(GIT) show-ref -s --tags $(VERSION)) MASTERGITREF := $(shell $(GIT) show-ref -s refs/heads/master) VERSIONFILES = include/package.h \ - test/system/casl2/opt_v/0.txt \ - test/system/comet2/opt_v/0.txt \ + test/system/casl2_opt/opt_v/0.txt \ + test/system/comet2_opt/opt_v/0.txt \ test/system/dumpword/opt_v/0.txt all: build doc gtags @@ -64,6 +65,12 @@ install: casl2 comet2 dumpword install-info install-casl2lib $(INSTALL) -d $(bindir) $(INSTALL) $(CMD) $(bindir)/ +install-info: + $(MAKE) -C doc install-info + +install-casl2lib: + $(MAKE) -C as/casl2lib install-casl2lib + uninstall: uninstall-info uninstall-casl2lib $(RM) $(prefix $(bindir)/,$(CMD))