Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CC = g++
- CFLAGS = -Wall -I C:\glut\include -I C:\OGLSDK\include
- PROG = basicshapes
- SRCS = main.cpp
- ifeq ($(shell uname),Darwin)
- LIBS = -framework OpenGL -framework GLUT
- else
- LIBS = -lglut
- endif
- all: $(PROG)
- $(PROG): $(SRCS)
- $(CC) $(CFLAGS) -o $(PROG) $(SRCS) $(LIBS)
- clean:
- rm -f $(PROG)
Add Comment
Please, Sign In to add comment