Guest User

Untitled

a guest
Dec 2nd, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.25 KB | None | 0 0
  1. CC = g++ -std=c++0x
  2. X11 = -lX11
  3. all: main strip
  4.  
  5. main: x11.o main.cpp
  6.     $(CC) -Os main.cpp $(X11) -o a.out
  7. debug: main.cpp
  8.     $(CC) -g -O0 main.cpp $(X11)
  9. x11: x11.cpp
  10.     $(CC) -g -O0 x11.cpp $(X11) -o x11.o
  11. strip:
  12.     strip ./a.out
  13. clean:
  14.     rm -rf *.o
Add Comment
Please, Sign In to add comment