box-o-sand/opengl/Makefile
2011-05-29 06:08:33 -07:00

20 lines
208 B
Makefile

CPPC := g++
BINDIR := $(PWD)/bin
ALL_TARGETS = $(BINDIR)/demo
all: $(ALL_TARGETS)
clean:
rm -vf ./bin/*
$(BINDIR)/demo:
cd src && \
gcc -o $(BINDIR)/demo demo.c -lX11 -lGL -lGLU
.PHONY: all clean