doorbell

view doorbell-client/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
children
line source
1 src = $(wildcard src/*.c)
2 obj = $(src:.c=.o)
3 bin = doorbell
5 CFLAGS = -pedantic -Wall -g
6 LDFLAGS = -lGL -lGLU -lglut
8 .PHONY: all
9 all: .clang_complete $(bin)
11 $(bin): $(obj)
12 $(CC) -o $@ $(obj) $(LDFLAGS)
14 .clang_complete:
15 echo '-x c' >$@
16 for i in $(CFLAGS); do echo $$i >>$@; done
18 .PHONY: clean
19 clean:
20 rm -f $(obj) $(bin)