aboutsummaryrefslogtreecommitdiff
path: root/example/Makefile
blob: f72ad2f5add45077686669a0d067ae80c489f770 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
CC     = /usr/bin/g++
LIBDIR = ../build/lib
INCDIR = ../build/inc

%: %.cpp
	$(CC) -I$(INCDIR) -L$(LIBDIR) -lengine $< -o $@.out
	LD_LIBRARY_PATH=$(LIBDIR) ./$@.out

.PHONY: clean

clean:
	rm -df *.out