box-o-sand/opengl/Makefile

20 lines
208 B
Makefile
Raw Normal View History

2011-05-29 13:08:33 +00:00
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