nuclear@0: src = $(wildcard src/*.cc) nuclear@0: obj = $(src:.cc=.o) nuclear@0: dep = $(obj:.o=.d) nuclear@0: bin = eqdummy nuclear@0: nuclear@0: CFLAGS = -pedantic -Wall -g nuclear@0: CXXFLAGS = $(CFLAGS) nuclear@5: LDFLAGS = -lGL -lGLU -lGLEW -lX11 -lm -lpthread -limago nuclear@0: nuclear@0: $(bin): $(obj) nuclear@0: $(CXX) -o $@ $(obj) $(LDFLAGS) nuclear@0: nuclear@0: -include $(dep) nuclear@0: nuclear@0: %.d: %.cc nuclear@0: @$(CPP) $< $(CXXFLAGS) -MM -MT $(@:.d=.o) >$@ nuclear@0: nuclear@0: .PHONY: clean nuclear@0: clean: nuclear@0: rm -f $(obj) $(bin)