#/**
#*
#* @File : Makefile
#*
#* @Authors : D. Mathie, M. Laporte
#*
#* @Date : 26/09/2001
#*
#* @Version : V1.0
#*
#* @Synopsis : Makefile général
#*
#**/
include $(HOME)/PRIVE/src/tp/tpsys/include/INCLUDE_H
#
COMPILER = g++ -I$(INCLUDE) -c $*.cxx -Wall
#
nom = exo_01
#
$(nom) : cible $(nom).o
g++ -s -o $(nom) $(nom).o -L$(UTIL) -lSys
#
NSMSG_H = nsMsg.h
#
$(nom).o : $(nom).cxx $(NSUTIL_H) $(CEXCEPTION_H) $(NSSYSTEME_H) \
$(SAVESIG_H) $(TESTFDOUVERTS_H) \
$(AUTOPSIE_H) $(CSEMBASE_H) \
$(CSEMAPHORE_H) $(CSTCODERR_H) $(NSMSG_H)
$(COMPILER)
#
cible :
cd $(UTIL); make -f MakeUtil
#
# Nettoyage du répertoire courant : exécutables et fichiers .o
#
clean :
clear; rm -f *.o exo_?? exo_??? -v; \
cd $(UTIL); make -f MakeUtil clean