Statistics
| Branch: | Revision:

pstreamer / Makefile @ 31a639f6

History | View | Annotate | Download (476 Bytes)

1
GRAPES ?= ../GRAPES
2
LIBGRAPES=$(GRAPES)/src/libgrapes.a
3
LIBPS=src/libpstreamer.a
4
LIBPS_SRC=$(wildcard src/*.c)
5

    
6
pstreamer: pstreamer.c $(LIBPS) $(LIBGRAPES)
7
	cc pstreamer.c -o pstreamer -I $(GRAPES)/include -I include/ -l pstreamer -L src -l grapes -L $(GRAPES)/src
8

    
9
$(LIBPS): $(LIBPS_SRC)
10
	$(MAKE) -C src/
11

    
12
$(LIBGRAPES):
13
	$(MAKE) -C $(GRAPES)
14

    
15
tests:
16
	$(MAKE) -C test
17
	test/run_tests.sh
18

    
19
clean:
20
	$(MAKE) -C src/ clean
21
	$(MAKE) -C test/ clean
22
	rm -f pstreamer
23

    
24
.PHONY: clean
25