20 lines
208 B
Makefile
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
|