Old stuff/ecole_etude_fac_de_pau/licence_3/projet_commun_se/backup17/Makefile.in
(Deskargatu)
flag=-Wall -g -O3
#finalflag=-lefence
#flag=-D DEBUG -Wall -g -O3
# DEBUG
# Extra warnings
# debug messages
# optimisation 3
all: barman tireuses client
barman: barman.o include/bar_gerer_com.o include/sockets.o include/bar_ordo.o include/bar_security.o include/tcp.o include/global.o
gcc $(finalflag) $(flag) barman.o include/bar_gerer_com.o include/sockets.o include/bar_ordo.o include/bar_security.o include/tcp.o include/demandes.o include/global.o -o barman
tireuses: tireuses.o include/tcp.o include/blonde.o include/brune.o include/global.o include/global.o include/shm.o
gcc $(finalflag) $(flag) tireuses.o include/tcp.o include/blonde.o include/global.o include/brune.o include/demandes.o include/global.o include/shm.o -o tireuses
client: client.o include/tcp.o include/demandes.o
gcc $(finalflag) $(flag) client.o include/tcp.o include/sockets.o include/demandes.o -o client
tireuses.o: include/tireuses.o
gcc $(flag) -c tireuses.c -o tireuses.o
client.o: include/global.o include/sockets.o
gcc $(flag) -c client.c -o client.o
include/tireuses.o:
gcc $(flag) -c include/tireuses.c -o include/tireuses.o
include/global.o:
gcc $(flag) -c include/global.c -o include/global.o
barman.o: include/brune.o include/blonde.o
gcc $(flag) -c barman.c
include/bar_gerer_com.o: include/demandes.o include/shm.o include/tcp.o include/sockets.o
gcc $(flag) -c include/bar_gerer_com.c -o include/bar_gerer_com.o
include/sockets.o: include/global.o
gcc $(flag) -c include/sockets.c -o include/sockets.o
include/demandes.o:
gcc $(flag) -c include/demandes.c -o include/demandes.o
include/bar_ordo.o: include/shm.o include/global.o include/demandes.o
gcc $(flag) -c include/bar_ordo.c -o include/bar_ordo.o
include/bar_security.o:
gcc $(flag) -c include/bar_security.c -o include/bar_security.o
include/shm.o:
gcc $(flag) -c include/shm.c -o include/shm.o
include/tcp.o:
gcc $(flag) -c include/tcp.c -o include/tcp.o
include/brune.o: include/shm.o include/demandes.o include/global.o include/tireuses.o include/shm.o
gcc $(flag) -c include/brune.c -o include/brune.o
include/blonde.o: include/shm.o include/demandes.o include/global.o include/tireuses.o include/shm.o
gcc $(flag) -c include/blonde.c -o include/blonde.o
clean:
rm -f barman client
rm -f *.o
rm -f include/*.o