Statistics
| Branch: | Revision:

pstreamer / Makefile @ 56d5986f

History | View | Annotate | Download (496 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
tests: $(LIBPS)
10
	GRAPES=$(GRAPES) $(MAKE) -C test/
11
	test/run_tests.sh
12

    
13
$(LIBPS): $(LIBPS_SRC)
14
	GRAPES=$(GRAPES) $(MAKE) -C src/
15

    
16
$(LIBGRAPES):
17
	$(MAKE) -C $(GRAPES)
18

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

    
23
.PHONY: clean
24