File: Makefile

package info (click to toggle)
cl-sdl 0.2.2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,188 kB
  • ctags: 1,610
  • sloc: lisp: 8,278; ansic: 516; sh: 177; makefile: 163
file content (38 lines) | stat: -rw-r--r-- 836 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#### -*- Mode: Makefile -*-
#### Author: Matthew Danish <mrd@debian.org>
#### Main GNU Makefile

DESTDIR=/usr/local

all: Makefile.opts
	(cd c; ${MAKE})

clean: Makefile.opts
	(cd build; ${MAKE} clean)
	$(RM) Makefile.opts

lispclean:
	find . -name '*.x86f' | xargs rm -f
	find . -name '*.fasla16' | xargs rm -f
	find . -name '*.fasl' | xargs rm -f
	find . -name '*.ufsl' | xargs rm -f

Makefile.opts:
	(sh select_platform.sh)

install_sdl:
	(cd build; ${MAKE} install_sdl DESTDIR=$(DESTDIR))

install_opengl:
	(cd build; ${MAKE} install_opengl DESTDIR=$(DESTDIR))

install_ttf:
	(cd build; ${MAKE} install_ttf DESTDIR=$(DESTDIR))

install_img:
	(cd build; ${MAKE} install_img DESTDIR=$(DESTDIR))

install_mix:
	(cd build; ${MAKE} install_mix DESTDIR=$(DESTDIR))

install: install_sdl install_opengl install_ttf install_img install_mix