doorbell

view spycam/Makefile @ 7:dc4018af3a40

video broadcast with UDP. retarded amount of data, unusable.
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 16 Mar 2016 02:50:30 +0200
parents a5755687dd75
children
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 -Wno-variadic-macros
7 opt = -O0
8 dbg = -g
9 incdir = -I/opt/vc/include
10 libdir = -L/opt/vc/lib
12 CFLAGS = $(warn) $(opt) $(dbg) $(incdir)
13 CXXFLAGS = $(warn) $(opt) $(dbg) $(incdir)
14 LDFLAGS = $(libdir) -lX11 -lEGL -lGLESv2 -lm -lgmath
16 $(bin): $(obj)
17 $(CXX) -o $@ $(obj) $(LDFLAGS)
19 .PHONY: clean
20 clean:
21 rm -f $(obj) $(bin)