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