File: Makefile

package info (click to toggle)
buildapp 1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 172 kB
  • ctags: 82
  • sloc: lisp: 789; makefile: 23
file content (22 lines) | stat: -rw-r--r-- 594 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESTDIR = /usr/local
LISP := sbcl

ifeq ($(LISP),sbcl)
FLAGS=--noinform --no-userinit --no-sysinit --disable-debugger
else
FLAGS=--quiet --no-init
endif

buildapp: command-line.lisp utils.lisp buildapp.lisp dumper.lisp package.lisp
	HOME=/tmp  $(LISP) $(FLAGS) \
	  --eval "(require 'asdf)" \
	  --eval "(push \"$$(pwd)/\" asdf:*central-registry*)" \
	  --eval "(require 'buildapp)" \
          --eval "(buildapp::build-buildapp)" \
          --eval "#+sbcl (exit) #+ccl (quit)"

clean:
	rm -f buildapp *~ *.fasl *.lx32fsl

install: buildapp
	install -c -m 555 buildapp ${DESTDIR}/bin/buildapp