Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CC = g++
- CFLAGS = -O2 `pkg-config --cflags gl`
- LIB = `pkg-config --libs gl` -lglut -lGLU
- square: main.o
- $(CC) $(CFLAGS) $(LIB) main.o -o square
- main.o: main.cpp
- $(CC) $(CFLAGS) $(LIB) -c main.cpp
Add Comment
Please, Sign In to add comment