Makefile 744 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
# Top-level Makefile for Remind.

all: src/Makefile
	@echo ""
	@echo "*******************"
	@echo "*                 *"
	@echo "* Building REMIND *"
	@echo "*                 *"
	@echo "*******************"
	@echo ""
	@cd src; $(MAKE) all LANGDEF=$(LANGDEF)

install:
	@echo ""
	@echo "*********************"
	@echo "*                   *"
	@echo "* Installing REMIND *"
	@echo "*                   *"
	@echo "*********************"
	@echo ""
	cd src; $(MAKE) install
22 23

clean:
24 25
	find . -name '*~' -exec rm {} \;
	cd src; $(MAKE) clean
26

27
test:
28
	@cd src && $(MAKE) test
29

30
distclean: clean
31
	rm -f config.cache config.log config.status src/Makefile src/config.h tests/test.out www/Makefile
32

33 34
src/Makefile: src/Makefile.in
	./configure
35 36 37

# DO NOT DELETE