Makefile 1.85 KB
Newer Older
Arne Øslebø's avatar
Arne Øslebø committed
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 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
# Generated automatically from Makefile.in by configure.
# $Id: Makefile.in,v 1.1 2005/05/31 07:12:38 ubik Exp $
#
# autoconf/Makefile.in - the main Makefile template for RUDE and CRUDE
#
# Authors: Juha Laine     <james@cs.tut.fi>
#	   Sampo Saaristo <sambo@cc.tut.fi>
#
# Copyright (C) 1999 Juha Laine, Tampere, Finland
#                    All rights reserved
#
##############################################################################
SHELL   = /bin/sh
SUBDIRS = rude crude


all:
	@for i in $(SUBDIRS); do \
		(cd $$i && $(MAKE) all) \
	done

clean:
	rm -f *~ config.cache config.log config.status
	@for i in $(SUBDIRS); do \
		(cd $$i && $(MAKE) clean) \
	done

distclean:
	rm -f *~ config.cache config.log config.status configure Makefile
	rm -f doc/*~ autoconf/config.hin include/config.h include/stamp.h
	@for i in $(SUBDIRS); do \
		(cd $$i && $(MAKE) distclean) \
	done

rude:
	cd rude && $(MAKE) all

crude:
	cd crude && $(MAKE) all

install:
	@for i in $(SUBDIRS); do \
		(cd $$i && $(MAKE) install) \
	done

##############################################################################
# Rules for autoconfiguration file REmaking
##############################################################################
update: include/stamp.h

include/stamp.h: autoconf/config.hin configure autoconf/Makefile.in rude/Makefile.in crude/Makefile.in
	./configure

autoconf/config.hin: autoconf/acconfig.h
	@autoheader -l ./autoconf
	@touch autoconf/config.hin
	@echo "****************************"
	@echo "* header templates updated *"
	@echo "****************************"

configure: autoconf/configure.in
	rm -f config.*
	@autoconf autoconf/configure.in > configure; chmod 755 configure
	@echo "****************************"
	@echo "* configure script updated *"
	@echo "****************************"

##############################################################################