blob: 08896941a29273a751b2fade3c3f088871f4fe34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
CC = /usr/bin/g++
CFLAGS = -Wall -g -std=c++11
LIBDIR = ../build/lib
INCDIR = ../build/inc
%: %.cpp
$(CC) -I$(INCDIR) -L$(LIBDIR) $(CFLAGS) -lengine $< -o $@.out
LD_LIBRARY_PATH=$(LIBDIR) ./$@.out
.PHONY: clean
clean:
rm -df *.out
|