Advertisement
Guest User

Untitled

a guest
Nov 28th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 0.43 KB | None | 0 0
  1. main: main.o matrice.o router.o flux.o stat.o
  2.     gcc -o main main.o matrice.o router.o flux.o stat.o -lm
  3.  
  4. main.o: main.c matrice.h tp2.h router.h flux.h stat.h
  5.     gcc -c main.c -lm
  6.  
  7. matrice.o: matrice.c matrice.h
  8.     gcc -c matrice.c -lm
  9.  
  10. router.o: router.c router.h
  11.     gcc -c router.c -lm
  12.  
  13. flux.o: flux.c flux.h
  14.     gcc -c flux.c -lm
  15.  
  16. stat.o: stat.c stat.h
  17.     gcc -c stat.c -lm
  18.  
  19. clean:
  20.     rm -rf *.o
  21.  
  22. mrproper: clean
  23.     rm -rf main
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement