Line | |
---|
1 | include ../Makefile.conf |
---|
2 | |
---|
3 | CLIENTS=roar-config roarbidir roarcat roarcatplay roarcatvio roarctl roarfilt roarmon roarradio roarshout roarsin roarsockconnect roartypes roarvorbis roarvumeter roarinterconnect roarlight roarphone |
---|
4 | |
---|
5 | INCLUDE = -I../include |
---|
6 | CFLAGS += -g -Wall $(Wextra) $(OPTI_O) $(DEFINES) $(INCLUDE) $(INCPATH) $(fPIC) |
---|
7 | LDFLAGS+= -g -Wall $(Wextra) $(OPTI_O) -L../lib $(LDPATH) |
---|
8 | |
---|
9 | all: |
---|
10 | echo Warning: There is nothing to build |
---|
11 | clean: sandbox-clean |
---|
12 | rm -f *.o rat-* |
---|
13 | |
---|
14 | new: clean all |
---|
15 | |
---|
16 | #test: sandbox-install test-all sandbox-clean |
---|
17 | test: sandbox-clean sandbox-install test-all sandbox-clean |
---|
18 | |
---|
19 | test-all: test-runnable test-roard test-rat |
---|
20 | |
---|
21 | test-runnable: |
---|
22 | PREFIX_BIN=$(PREFIX_BIN) PREFIX_LIB=$(PREFIX_LIB) EXEC_HELPER=$(EXEC_HELPER) ./test-runnable.sh "$(CLIENTS)" |
---|
23 | test-roard: |
---|
24 | PREFIX_BIN=$(PREFIX_BIN) PREFIX_LIB=$(PREFIX_LIB) EXEC_HELPER=$(EXEC_HELPER) ./test-roard.sh |
---|
25 | |
---|
26 | test-rat: rat.o test-rat.o |
---|
27 | $(CC) $(LDFLAGS) -o rat-rat rat.o test-rat.o |
---|
28 | $(EXEC_HELPER) ./rat-rat |
---|
29 | |
---|
30 | |
---|
31 | sandbox-install: sandbox |
---|
32 | sandbox: |
---|
33 | mkdir sandbox |
---|
34 | sh -c 'cd ..; DESTDIR=`pwd`/tests/sandbox $(MAKE) install' |
---|
35 | sandbox-clean: |
---|
36 | rm -rf sandbox/ |
---|
Note: See
TracBrowser
for help on using the repository browser.