Advertisement
Guest User

Untitled

a guest
Sep 24th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. all: app.exe test.exe clean
  2.  
  3. app.exe test.exe: main.o cdio.o find_max.o multiply.o remove.o sizes.o test.o
  4. gcc -std=c99 -Wall -Werror -pedantic -o app.exe main.o cdio.o find_max.o multiply.o remove.o sizes.o
  5. gcc -std=c99 -Wall -Werror -pedantic -o test.exe test.o cdio.o find_max.o multiply.o remove.o sizes.o
  6.  
  7. main.o: main.c types.h cdio.h find_max.h multiply.h remove.h sizes.h types.h
  8. gcc -std=c99 -Wall -Werror -pedantic -c main.c
  9.  
  10. test.o: test.c types.h cdio.h find_max.h multiply.h remove.h sizes.h types.h
  11. gcc -std=c99 -Wall -Werror -pedantic -c test.c
  12.  
  13. cdio.o: cdio.c types.h cdio.h
  14. gcc -std=c99 -Wall -Werror -pedantic -c cdio.c
  15.  
  16. find_max.o: find_max.c types.h cdio.h find_max.h
  17. gcc -std=c99 -Wall -Werror -pedantic -c find_max.c
  18.  
  19. multiply.o: multiply.c cdio.h multiply.h
  20. gcc -std=c99 -Wall -Werror -pedantic -c multiply.c
  21.  
  22. remove.o: remove.c cdio.h remove.h
  23. gcc -std=c99 -Wall -Werror -pedantic -c remove.c
  24.  
  25. sizes.o: sizes.c cdio.h sizes.h
  26. gcc -std=c99 -Wall -Werror -pedantic -c sizes.c
  27.  
  28. clean:
  29. rm *.o
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement