SHARE
TWEET

Untitled

a guest Dec 8th, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .PHONY: all clean
  2.  
  3. all: hw_02
  4.  
  5. CFLAGS= -I include -Wall -Werror -pedantic -g
  6.  
  7. hw_02: obj/Board.o obj/main.o obj/StdioBoardView.o
  8.     g++ obj/StdioBoardView.o obj/main.o obj/Board.o -o  hw_02
  9.  
  10. obj/StdioBoardView.o: src/StdioBoardView.cpp include/StdioBoardView.hpp
  11.     mkdir -p obj
  12.     g++ $(CFLAGS) -c src/StdioBoardView.cpp -o obj/StdioBoardView.o
  13.  
  14. obj/Board.o: src/Board.cpp include/Board.hpp
  15.     mkdir -p obj
  16.     g++ $(CFLAGS) -c src/Board.cpp -o obj/Board.o
  17.  
  18. obj/main.o: src/main.cpp
  19.     mkdir -p obj
  20.     g++ $(CFLAGS) -c src/main.cpp -o obj/main.o
  21.  
  22. clean:
  23.     rm -rf ./obj hw_02
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top