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