Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CC = g++ -std=c++0x
- X11 = -lX11
- all: main strip
- main: x11.o main.cpp
- $(CC) -Os main.cpp $(X11) -o a.out
- debug: main.cpp
- $(CC) -g -O0 main.cpp $(X11)
- x11: x11.cpp
- $(CC) -g -O0 x11.cpp $(X11) -o x11.o
- strip:
- strip ./a.out
- clean:
- rm -rf *.o
Add Comment
Please, Sign In to add comment