File: Makefile

package info (click to toggle)
cde 0.1+git9-g551e54d-1.1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 10,340 kB
  • ctags: 10,812
  • sloc: ansic: 75,881; sh: 4,282; python: 1,006; perl: 438; makefile: 297; lisp: 44; java: 5
file content (23 lines) | stat: -rw-r--r-- 536 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
# really crappy Makefile, which will do for now

PREFIX ?= /usr/local

all: strace-4.6/Makefile okapi
	cd readelf-mini && make
	cd strace-4.6 && make
	mv -f strace-4.6/cde .
	mv -f strace-4.6/cde-exec .

install: all
	install cde cde-exec $(DESTDIR)/$(PREFIX)/bin

strace-4.6/Makefile:
	cd strace-4.6 && ./configure

clean:
	cd readelf-mini && make clean
	-cd strace-4.6 && make clean
	rm -f cde cde-exec okapi

okapi: strace-4.6/okapi.c strace-4.6/okapi.h
	gcc -Wall -g -O2 -D_GNU_SOURCE -DOKAPI_STANDALONE strace-4.6/okapi.c -o okapi