File: Makefile

package info (click to toggle)
crasm 1.11-2
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 520 kB
  • sloc: ansic: 4,562; asm: 3,371; makefile: 50
file content (23 lines) | stat: -rw-r--r-- 356 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
23
SHELL=/bin/sh
MAKE=make

prefix=/usr
bindir=${prefix}/bin
mandir=${prefix}/share/man

all:
	( cd src; ${MAKE} all )

clean:
	( cd src; ${MAKE} clean )
	( cd test; ${MAKE} clean )

test: all
	( cd test; ${MAKE} test )

install:
	cp src/crasm ${bindir}/crasm
	chmod 0755 ${bindir}/crasm
	cp crasm.1 ${mandir}/man1/crasm.1
	chmod 0644 ${mandir}/man1/crasm.1