|
|
|
|
@ -1,11 +1,12 @@
|
|
|
|
|
export DATADIR := "/usr/local/etc"
|
|
|
|
|
export DATADIR := "/usr/share/dstarrepeater"
|
|
|
|
|
export LOGDIR := "/var/log"
|
|
|
|
|
export CONFDIR := "/etc"
|
|
|
|
|
export BINDIR := "/usr/bin"
|
|
|
|
|
|
|
|
|
|
export CXX := $(shell wx-config --cxx)
|
|
|
|
|
export CFLAGS := -g -O2 -Wall $(shell wx-config --cxxflags) -DLOG_DIR='$(LOGDIR)' -DCONF_DIR='$(CONFDIR)' -DDATA_DIR='$(DATADIR)'
|
|
|
|
|
export LIBS := $(shell wx-config --libs adv,core) -lasound -lusb-1.0
|
|
|
|
|
export LDFLAGS := -g
|
|
|
|
|
export CXX := $(shell wx-config --cxx)
|
|
|
|
|
export CFLAGS := -O2 -Wall $(shell wx-config --cxxflags) -DLOG_DIR='$(LOGDIR)' -DCONF_DIR='$(CONFDIR)' -DDATA_DIR='$(DATADIR)'
|
|
|
|
|
export LIBS := $(shell wx-config --libs adv,core) -lasound -lusb-1.0
|
|
|
|
|
export LDFLAGS :=
|
|
|
|
|
|
|
|
|
|
all: DStarRepeater/dstarrepeater DStarRepeaterConfig/dstarrepeaterconfig
|
|
|
|
|
|
|
|
|
|
@ -21,6 +22,11 @@ GUICommon/GUICommon.a:
|
|
|
|
|
Common/Common.a:
|
|
|
|
|
make -C Common
|
|
|
|
|
|
|
|
|
|
install: all
|
|
|
|
|
make -C Data install
|
|
|
|
|
make -C DStarRepeater install
|
|
|
|
|
make -C DStarRepeaterConfig install
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|
make -C Common clean
|
|
|
|
|
make -C GUICommon clean
|
|
|
|
|
|