doorbell
view spycam/Makefile @ 2:d3f2a2b19504
doorbell server under construction
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 13 Mar 2016 07:56:03 +0200 |
parents | |
children | daade2a35e69 |
line source
1 src = $(wildcard src/*.cc)
2 csrc = $(wildcard src/*.c)
3 obj = $(src:.cc=.o) $(csrc:.c=.o)
4 bin = spycam
6 warn = -pedantic -Wall
7 opt = -O0
8 dbg = -g
10 CFLAGS = $(warn) $(opt) $(dbg)
11 CXXFLAGS = $(warn) $(opt) $(dbg)
12 LDFLAGS = -lX11 -lEGL -lGLESv2 -lm -lgmath
14 $(bin): $(obj)
15 $(CXX) -o $@ $(obj) $(LDFLAGS)
17 .PHONY: clean
18 clean:
19 rm -f $(obj) $(bin)