How can I make the makefile to compile and run my C program? It is compiling, but not running.
test1: crypfs.c crypfs.h teste1.c
gcc -o teste1 crypfs.c crypfs.h teste1.c
/.teste1
test2: crypfs.c crypfs.h teste2.c
gcc -o teste2 crypfs.c crypfs.h teste1.c
/.teste2
test3: crypfs.c crypfs.h teste3.c
gcc -o teste3 crypfs.c crypfs.h teste1.c
/.teste3
test4: crypfs.c crypfs.h teste4.c
gcc -o teste4 crypfs.c crypfs.h teste1.c
/.teste4
Aucun commentaire:
Enregistrer un commentaire