
GID_SCRIPT_PACKAGES = \
	customLib/customLib_sources \
	../verifprot
#not anymore:
#	gid_groups_conds/src
#	compass/compass_utils_sources \
#	compass/sqlite-sources \
#	compass/pdfwriter_sources \

TARGET_MAKEFILE = Makefile.linux

all: subdirs

subdirs:
	@for dir in $(GID_SCRIPT_PACKAGES) ; do \
		if [ -d $$dir ] ; then \
			( echo "----- Doing $$dir ..."; cd $$dir ; $(MAKE) -f $(TARGET_MAKEFILE) -k ) || exit 1 ; \
		fi \
	done

subdirs_clean:
	@for dir in $(GID_SCRIPT_PACKAGES) ; do \
		if [ -d $$dir ] ; then \
			( echo "----- Doing $$dir ..."; cd $$dir ; $(MAKE) -f $(TARGET_MAKEFILE) -k clean) || exit 1 ; \
		fi \
	done

subdirs_opt:
	@for dir in $(GID_SCRIPT_PACKAGES) ; do \
		if [ -d $$dir ] ; then \
			( echo "----- Doing $$dir ..."; cd $$dir ; $(MAKE) -f $(TARGET_MAKEFILE) -k opt) || exit 1 ; \
		fi \
	done

clean: subdirs_clean

# rm -f $(OBJS_LIB) $(NOMBRE_LIB)

opt: subdirs_opt

# $(MAKE) all "FLAGS=$(FLAGS_O)"
