##################################
# Auteur Christian miguel
##################################


# make general pour le logiciel d'acquisition SUN Stokesmetre


WD	= sun/src
MAKE	= make
#Attention l'ordre des subdir est important, voir les makefile.

VME	= vme/

SUN	=${WD}/client-init\
	 ${WD}/client-rao\
	 ${WD}/pont\
	 ${WD}/util-tab\
	 ${WD}/param\
	 ${WD}/process\
	 ${WD}/erreurs\
	 ${WD}/memoire\
	 ${WD}/the_time\
	 ${WD}/fich_acq\
	 ${WD}/record\
	 ${WD}/global

sock: all
	@cd sun/src/client-init2; $(MAKE) clean; $(MAKE) all;
	@cd sun/src/sock2; $(MAKE) clean; $(MAKE) server;
	@cd vme/sock; $(MAKE) clean; $(MAKE) server;

#all install: thescripts build  ${SUN} ${VME}
all install:  build  ${SUN} ${VME}

sun:${SUN}
vme:${VME}

build: NOTH
	@echo  recompile tout pas de panique...

${SUN} ${VME}: NOTH
	@cd $@; $(MAKE) clean; $(MAKE) all;

#thescripts: NOTH
#	@cd ./scripts; $(MAKE) all;

#check_sccs: NOTH
#	./scripts/check_sccs .

NOTH:







