Debian Codegraph @

contrib/bug218607/Makefile

raw
1 topdir=$(shell pwd)/../..
2 include ../../Make.Rules
3
4 all: threadcpp
5
6 test: all
7 ./threadcpp
8
9 # This binary will only run from this location because we use an rpath
10 # to find the in-tree build of libpsx.so.
11 threadcpp: thread.cpp ../../libcap/libpsx.so
12 g++ -I../../libcap -o $@ $< -Wl,-rpath,../../libcap -lpsx -lpthread
13
14 ../../libcap/libpsx.so:
15 $(MAKE) -C ../../libcap libpsx.so
16
17 clean:
18 rm -f threadcpp *~