summaryrefslogtreecommitdiff
path: root/nutemp/makefile
blob: 422317c88ce4c8515b62769a2e1b25f7e9f5926a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

AD = ..
CXXFLAGS = -g
CPPFLAGS = -I $(AD)/libs/ardour -I $(AD)/libs/evoral -I $(AD)/libs/pbd -I $(AD)/build/libs/pbd -I $(AD)/libs/timecode
CPPFLAGS += `pkg-config --cflags glibmm-2.4` `pkg-config --cflags libxml-2.0`
LDFLAGS = -L $(AD)/build/libs/evoral -levoral -Xlinker -rpath=$(AD)/build/libs/evoral
LDFLAGS += -L $(AD)/build/libs/pbd -lpbd -Xlinker -rpath=$(AD)/build/libs/pbd
LDFLAGS += -L $(AD)/build/libs/timecode -ltimecode -Xlinker -rpath=$(AD)/build/libs/timecode
LDFLAGS += `pkg-config --cflags --libs glibmm-2.4` `pkg-config --cflags --libs libxml-2.0`

all: t

t.o: t.cc t.h

t: t.o
	$(CXX) $(LDFLAGS) -o $@ $?

clean:
	rm -f t t.o