doorbell

annotate 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
rev   line source
nuclear@0 1 src = $(wildcard src/*.cc)
nuclear@0 2 csrc = $(wildcard src/*.c)
nuclear@0 3 obj = $(src:.cc=.o) $(csrc:.c=.o)
nuclear@0 4 bin = spycam
nuclear@0 5
nuclear@0 6 warn = -pedantic -Wall
nuclear@0 7 opt = -O0
nuclear@0 8 dbg = -g
nuclear@0 9
nuclear@0 10 CFLAGS = $(warn) $(opt) $(dbg)
nuclear@0 11 CXXFLAGS = $(warn) $(opt) $(dbg)
nuclear@0 12 LDFLAGS = -lX11 -lEGL -lGLESv2 -lm -lgmath
nuclear@0 13
nuclear@0 14 $(bin): $(obj)
nuclear@0 15 $(CXX) -o $@ $(obj) $(LDFLAGS)
nuclear@0 16
nuclear@0 17 .PHONY: clean
nuclear@0 18 clean:
nuclear@0 19 rm -f $(obj) $(bin)