shader viewer 1st commit: watch not working
[sdrviewer] / Makefile
1 csrc = $(wildcard src/*.c)
2 src = $(wildcard src/*.cc)
3 obj = $(src:.cc=.o) $(csrc:.c=.o)
4
5 bin = sdrviewer
6
7 CXXFLAGS = -pedantic -Wall -g
8 CFLAGS = -pedantic -Wall -g
9 LDFLAGS = -lGL -lglut -lGLEW -lresman
10
11 $(bin): $(obj)
12         $(CXX) -o $@ $(obj) $(LDFLAGS)
13
14 .PHONY: clean
15 clean:
16         rm -f $(obj) $(bin)