Old stuff/ecole_etude_fac_de_pau/licence_3/projet_commun_se/backup02/Makefile
(Deskargatu)
flag=-D DEBUG -Wall -g -O3
# DEBUG
# Extra warnings
# debug messages
# optimisation 3
barman: barman.o include/bar_gerer_com.o include/bar_ordo.o include/bar_security.o include/shm.o include/tcp.o
gcc $(flag) barman.o include/bar_gerer_com.o include/bar_ordo.o include/bar_security.o include/shm.o include/tcp.o -o barman
client: client.o include/tcp.o
gcc $(flag) client.o include/tcp.o -o client
client.o:
gcc $(flag) -c client.c -o client.o
barman.o:
gcc $(flag) -c barman.c
include/bar_gerer_com.o:
gcc $(flag) -c include/bar_gerer_com.c -o include/bar_gerer_com.o
include/bar_ordo.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
clean:
rm -f barman client
rm -f *.o
rm -f include/*.o