summaryrefslogtreecommitdiff
path: root/src/Makefile
blob: 0c16eb4c20f0e95543e037cf16fce69b0eec8690 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
##
##  -*- makefile -*-
##
## Makefile
## Made by  Bruno JOFRET <bruno.jofret@inria.fr>
##
## Started on  Tue Dec  5 09:19:53 2006 jofret
## Last update Thu Feb  8 11:42:50 2007 jofret
##
## Copyright INRIA 2006
##

DIRS	=	type \
		auxiliaryFunctions \
		elementaryFunctions \
		test

all: recure

stdc99:
	@for i in $(DIRS); \
	do cd $$i && make STANDARD=-std=c99; \
	cd .. ;\
	done

recure:
	@for i in $(DIRS); \
	do cd $$i && make; \
	cd .. ;\
	done

clean:
	@for i in $(DIRS); \
	do cd $$i && make $@; \
	cd .. ;\
	done

distclean:
	@for i in $(DIRS); \
	do cd $$i && make $@; \
	cd .. ;\
	done

re: clean all

test: all
	@cd test && make $@; cd ..

todo:
	@grep -R FIXME --exclude="*svn*" --exclude="Makefile" * > TODO
	@cat TODO