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