Advertisement
kolychestiy

Makefile

Dec 12th, 2021
1,532
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.31 KB | None | 0 0
  1. filter: filter.o bmp_io.o bmp_replace.o
  2.     gcc -o filter filter.o bmp_io.o bmp_replace.o
  3.  
  4. filter.o: filter.c bmp.h
  5.     gcc -c -Wall -Wextra filter.c
  6.  
  7. bmp_replace.o: bmp_replace.c bmp.h
  8.     gcc -c -Wall -Wextra bmp_replace.c
  9.  
  10. bmp_io.o: bmp_io.c bmp.h
  11.     gcc -c -Wall -Wextra bmp_io.c
  12.    
  13. clean:
  14.     rm -rf *.o filter
  15.  
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement