Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (12 sloc) 0.262 kb
CC = g++
LDFLAGS = -framework GLUT -framework OpenGL -lGLEW
CFLAGS = -O
SRC = src/main.cc src/program.cc src/shader.cc
OBJ = ${SRC:.c=.o}
all: main
.c.o:
${CC} -c ${CFLAGS} -o $@ $<
main: ${OBJ}
${CC} ${LDFLAGS} ${OBJ} -o main
clean:
rm -rf src/*.o main
Jump to Line
Something went wrong with that request. Please try again.