subdir = common tools/toolutil tools/makeconv tools/gencnval

all	:= TARGET = all
install	:= TARGET = install
clean	:= TARGET = clean
clobber	:= TARGET = clobber


default: configure all

configure: 
	(cd ../..; configure)


all: $(subdir)
install: $(subdir)
clean: $(subdir)
clobber: $(subdir)



$(subdir): FRC
	@cd $@; pwd; $(MAKE) CDEBUGFLAGS='${CDEBUGFLAGS}' CFLAGS='${CFLAGS}' ${TARGET}
#	@for dir in $(subdir); do (test -d $${dir} && cd $${dir} && $(MAKE) CDEBUGFLAGS='${CDEBUGFLAGS}' CFLAGS='${CFLAGS}' ${TARGET}); done

FRC:
