makefile

# Syntaxe d'un makefile
# Après les retours à la ligne mettre une tabulation

nom_prog: romain.o romain2.o
 cc -o nom_prog romain.o romain2.o

# on compile les dépendances :
romain.o: romain.c
 cc -c romain.c

romain2.o: romain2.c romain2.h
 cc -c romain2.c

# make -f makefile.txt





Haut de la page - Page générée en 0.00179 sec.
 

1845837 visiteurs.   ©2001-2024 All Rights Reserved to Software-DS.com
Made with a mac  
Confidentialité