view Makefile @ 7:6d864126b45a tip

Arrggh! I think it's right now.
author samer
date Sat, 12 Apr 2014 12:50:11 +0100
parents 95ffac028d98
children
line wrap: on
line source
# ---------------- configuration ----------------------

# if you have multiple SWI Prolog installations or an installation
# in a non-standard place, set PLLD to the appropriate plld invokation, eg
# PLLD=/usr/local/bin/plld -p /usr/local/bin/swipl

PACKNAME=callgraph
VER=0.2.1
PACKFILE=release/$(PACKNAME)-$(VER).tgz
# ---------------- end of configuration ---------------

main: 
	make -C c

packfile:
	mkdir -p $(PACKNAME) $(PACKNAME)/prolog 
	cp -p pack.pl $(PACKNAME)
	cp -pR prolog $(PACKNAME)
	cp -p README $(PACKNAME)
	tar czf $(PACKFILE) $(PACKNAME)
	rm -rf $(PACKNAME)

install: packfile
	swipl -g "pack_install('$(PACKFILE)')"