Makefile 586 Bytes
Newer Older
1

2
all:	src test
3

ahoms's avatar
ahoms committed
4
src:	processlib.src sps.src
5

ahoms's avatar
ahoms committed
6
processlib.src:	Processlib/sip/Makefile Processlib/sip/processlib.so
7
8
9
10

Processlib/sip/Makefile:
	cd Processlib/sip/ && python configure.py

11
Processlib_build_libprocesslib.so:
12
13
	make -C Processlib/build -j2

14
Processlib/sip/processlib.so: Processlib_build_libprocesslib.so
15
	make -C Processlib/sip -j2
ahoms's avatar
ahoms committed
16
17
18
19

sps.src:	Sps/Src/sps.o

Sps/Src/sps.o:	Sps/Src/sps.c Sps/Include/sps.h
20
	make -C Sps/Src CPPFLAGS=-I../Include CFLAGS=-fPIC sps.o
ahoms's avatar
ahoms committed
21
22
23
24

test:
	@echo

25
26
27
clean:
	cd Processlib/sip/ && python clean.py
	make -C Processlib/build clean
28
	rm -f Sps/Src/sps.o