doorbell

diff 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
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/spycam/Makefile	Tue Mar 08 03:26:01 2016 +0200
     1.3 @@ -0,0 +1,19 @@
     1.4 +src = $(wildcard src/*.cc)
     1.5 +csrc = $(wildcard src/*.c)
     1.6 +obj = $(src:.cc=.o) $(csrc:.c=.o)
     1.7 +bin = spycam
     1.8 +
     1.9 +warn = -pedantic -Wall
    1.10 +opt = -O0
    1.11 +dbg = -g
    1.12 +
    1.13 +CFLAGS = $(warn) $(opt) $(dbg)
    1.14 +CXXFLAGS = $(warn) $(opt) $(dbg)
    1.15 +LDFLAGS = -lX11 -lEGL -lGLESv2 -lm -lgmath
    1.16 +
    1.17 +$(bin): $(obj)
    1.18 +	$(CXX) -o $@ $(obj) $(LDFLAGS)
    1.19 +
    1.20 +.PHONY: clean
    1.21 +clean:
    1.22 +	rm -f $(obj) $(bin)