Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: e719cacc46
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (19 sloc) 0.522 kb
# Target to build
TARGET = 019
EXECS = ./$(TARGET)
# Libraries - LINUX
#LIBS=-lglut -lGLU
# Libraries - OSX
LIBS=-framework OpenGL -framework GLUT
all: $(TARGET)
# Generic compile rules
.c.o:
gcc -c -g -O -Wall $<
# Generic compile and link
%: %.c screencasts.a
gcc -Wall -O3 -o ./$@ $^ $(LIBS)
clean:
rm -f $(EXECS) *.o *.a
# without .h => globals.o
screencasts.a:globals.o print.o error.o fatal.o textures.o shapes.o models.o interaction.o initialization.o draw.o display.o animate.o
ar -rcs screencasts.a $^
Jump to Line
Something went wrong with that request. Please try again.