Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (13 sloc) 372 Bytes
APP = Demo
CC = g++
CC_FLAGS = -wall -wextra -pedantic
FRAMEWORKS = -framework GLUT -framework OpenGL
LIBS = -lGLEW
%.o: %.cpp
$(CC) $(STANDARD) $(CC_FLAGS) -c -g $<
all: Tokenizer.o Model.o Obj.o Driver.o Shader.o
$(CC) $(CC_FLAGS) $(FRAMEWORKS) $(LIBS) *.o -o $(APP)
debug: all
$(CC) $(CC_FLAGS) $(FRAMEWORKS) $(LIBS) -g *.o -o $(APP)
clean:
rm -f *.o $(APP)