makefile 444 Bytes
Newer Older
1 2
# Top level makefile, the real shit is at src/makefile

Hardy Simpson's avatar
go on  
Hardy Simpson committed
3
TARGETS=noopt 32bit
4 5 6 7

all:
	cd src && $(MAKE) $@

Hardy Simpson's avatar
go on  
Hardy Simpson committed
8
install:
9 10
	cd src && $(MAKE) $@

Hardy Simpson's avatar
go on  
Hardy Simpson committed
11 12 13 14 15 16
$(TARGETS):
	cd src && $(MAKE) $@

doc:
	cd doc && $(MAKE)

17
test: all
Hardy Simpson's avatar
go on  
Hardy Simpson committed
18 19
	cd test && $(MAKE)

mofaph's avatar
mofaph committed
20 21 22
TAGS:
	find . -type f -name "*.[ch]" | xargs etags -

23 24
check: test

25 26 27 28
clean:
	cd src && $(MAKE) $@
	cd test && $(MAKE) $@
	cd doc && $(MAKE) $@
mofaph's avatar
mofaph committed
29
	rm -f TAGS
30 31 32 33

distclean: clean

dummy:
Hardy Simpson's avatar
go on  
Hardy Simpson committed
34

35
.PHONY: doc install test TAGS check