#############################################################################
# Makefile for building: almetare
# Generated by qmake (1.07a) (Qt 3.3.3) on: Sun Feb  6 01:32:56 2005
# Project:  almetare.pro
# Template: subdirs
# Command: $(QMAKE) -o Makefile almetare.pro
#############################################################################

MAKEFILE =	Makefile
QMAKE    =	qmake
DEL_FILE =    rm -f
CHK_DIR_EXISTS= test -d
MKDIR    = mkdir -p
INSTALL_FILE= 
INSTALL_DIR = 
SUBTARGETS =	 \
		sub-fx3600p \
		sub-fx85v \
		sub-ti30

first: all

all: Makefile $(SUBTARGETS)

fx3600p/$(MAKEFILE): 
	@$(CHK_DIR_EXISTS) "fx3600p" || $(MKDIR) "fx3600p"
	cd fx3600p && $(QMAKE) fx3600p.pro -o $(MAKEFILE)
sub-fx3600p: fx3600p/$(MAKEFILE) FORCE
	rm -f Linux/main.o
	cd fx3600p && $(MAKE) -f $(MAKEFILE)

fx85v/$(MAKEFILE): 
	@$(CHK_DIR_EXISTS) "fx85v" || $(MKDIR) "fx85v"
	cd fx85v && $(QMAKE) fx85v.pro -o $(MAKEFILE)
sub-fx85v: fx85v/$(MAKEFILE) FORCE
	rm -f Linux/main.o
	cd fx85v && $(MAKE) -f $(MAKEFILE)

ti30/$(MAKEFILE): 
	@$(CHK_DIR_EXISTS) "ti30" || $(MKDIR) "ti30"
	cd ti30 && $(QMAKE) ti30.pro -o $(MAKEFILE)
sub-ti30: ti30/$(MAKEFILE) FORCE
	rm -f Linux/main.o
	cd ti30 && $(MAKE) -f $(MAKEFILE)

Makefile: almetare.pro  /usr/share/qt3/mkspecs/default/qmake.conf 
	$(QMAKE) -o Makefile almetare.pro
qmake: qmake_all
	@$(QMAKE) -o Makefile almetare.pro

all: $(SUBTARGETS)
qmake_all: fx3600p/$(MAKEFILE) fx85v/$(MAKEFILE) ti30/$(MAKEFILE)
	 ( [ -d fx3600p ] && cd fx3600p ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true
	 ( [ -d fx85v ] && cd fx85v ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true
	 ( [ -d ti30 ] && cd ti30 ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true
clean uicables mocables uiclean mocclean lexclean yaccclean : qmake_all FORCE
	 ( [ -d fx3600p ] && cd fx3600p ; $(MAKE) -f $(MAKEFILE) $@; ) || true
	 ( [ -d fx85v ] && cd fx85v ; $(MAKE) -f $(MAKEFILE) $@; ) || true
	 ( [ -d ti30 ] && cd ti30 ; $(MAKE) -f $(MAKEFILE) $@; ) || true
uninstall_subdirs: qmake_all FORCE
	 ( [ -d fx3600p ] && cd fx3600p ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true
	 ( [ -d fx85v ] && cd fx85v ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true
	 ( [ -d ti30 ] && cd ti30 ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true
install_subdirs: qmake_all FORCE
	 ( [ -d fx3600p ] && cd fx3600p ; $(MAKE) -f $(MAKEFILE) install; ) || true
	 ( [ -d fx85v ] && cd fx85v ; $(MAKE) -f $(MAKEFILE) install; ) || true
	 ( [ -d ti30 ] && cd ti30 ; $(MAKE) -f $(MAKEFILE) install; ) || true
distclean: qmake_all FORCE
	 ( [ -d fx3600p ] && cd fx3600p ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true
	 ( [ -d fx85v ] && cd fx85v ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true
	 ( [ -d ti30 ] && cd ti30 ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true

install:  install_subdirs

uninstall:  uninstall_subdirs

FORCE:

