doorbell

annotate spycam/Makefile @ 0:a5755687dd75

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 08 Mar 2016 03:26:01 +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)