Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- all: hw_01
- hw_01: obj/main.o obj/bmp.o
- gcc -Iinclude obj/main.o obj/bmp.o -o hw_01
- obj/main.o: src/main.c include/bmp.h | obj
- gcc -Iinclude -Wall -Werror -c src/main.c -o obj/main.o
- obj/bmp.o: src/bmp.c include/bmp.h | obj
- gcc -Iinclude -Wall -Werror -c src/bmp.c -o obj/bmp.o
- clean:
- rm -rf obj hw_01
- obj:
- mkdir obj
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement