compiler beginnings
[sacl.git] / Makefile
blobb8a2099d304ffe3171b4c4a7e638eb3af9eb8d84
1 saclroot=.
3 include $(saclroot)/common.mk
5 all: saclc
7 saclc:
8 $(SILENT) $(MAKE) -C $(COMPILERDIR) saclc
9 $(SILENT) cp -f $(COMPILERDIR)/saclc ./
11 installdirs:
12 $(SILENT) $(INSTALL) -d $(exec_prefix) $(lispdir) $(includedir) $(datadir) $(man1dir)
14 install: saclc installdirs
15 $(info Installing) # TODO: Plugins and documentation missing
16 $(SILENT) $(INSTALL) saclc
18 backup: superclean
19 tar '--exclude=*.git*' -jcvf ../sacl-backup.tar.bz2 .
21 superclean: clean
22 rm -f core saclc
24 compilerclean:
25 $(MAKE) -C src/compiler clean
26 rm -f saclc
28 clean: compilerclean
31 tags: TAGS
34 .PHONY: clean superclean backup compilerclean