export DATADIR := "/usr/share/dstarrepeater" export LOGDIR := "/var/log" export CONFDIR := "/etc" export BINDIR := "/usr/bin" export CXX := $(shell wx-config --cxx) export CFLAGS := -O2 -Wall $(shell wx-config --cxxflags) -DLOG_DIR='$(LOGDIR)' -DCONF_DIR='$(CONFDIR)' -DDATA_DIR='$(DATADIR)' -DGPIO export GUILIBS := $(shell wx-config --libs adv,core,base) -lasound -lwiringPi export LIBS := $(shell wx-config --libs base) -lasound -lwiringPi export LDFLAGS := all: DStarRepeater/dstarrepeater DStarRepeaterConfig/dstarrepeaterconfig DStarRepeater/dstarrepeater: GUICommon/GUICommon.a Common/Common.a force $(MAKE) -C DStarRepeater -f MakefileGUI DStarRepeaterConfig/dstarrepeaterconfig: GUICommon/GUICommon.a Common/Common.a force $(MAKE) -C DStarRepeaterConfig GUICommon/GUICommon.a: force $(MAKE) -C GUICommon Common/Common.a: force $(MAKE) -C Common .PHONY: install install: all $(MAKE) -C Data install $(MAKE) -C DStarRepeater -f MakefileGUI install $(MAKE) -C DStarRepeaterConfig install .PHONY: clean clean: $(MAKE) -C Common clean $(MAKE) -C GUICommon clean $(MAKE) -C DStarRepeater clean $(MAKE) -C DStarRepeaterConfig clean .PHONY: force force: @true