Added all remaining gists.
This commit is contained in:
17
glut_template.cpp/Makefile
Normal file
17
glut_template.cpp/Makefile
Normal file
@@ -0,0 +1,17 @@
|
||||
TARGET =
|
||||
OBJECTS =
|
||||
HEADERS =
|
||||
CXX = g++
|
||||
CXXFLAGS = -Wall -ansi -pedantic -g
|
||||
LDLIBS = -lm -lglut -lGLU -lGL # GNU/Linux libs
|
||||
# LDLIBS = -lm -framework OpenGL -framework GLUT # Os X libs
|
||||
|
||||
.PHONY: all
|
||||
all: $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJECTS)
|
||||
$(CXX) $(CXXFLAGS) -o $@ $^ $(LDLIBS)
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
$(RM) $(TARGET) $(OBJECTS)
|
Reference in New Issue
Block a user