parent
99692723e9
commit
562f36f8de
@ -0,0 +1,36 @@
|
|||||||
|
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
|
||||||
|
export LIBS := $(shell wx-config --libs base) -lasound -lusb-1.0 -lwiringPi
|
||||||
|
export LDFLAGS :=
|
||||||
|
|
||||||
|
all: DStarRepeater/dstarrepeaterd DStarRepeaterConfig/dstarrepeaterconfig
|
||||||
|
|
||||||
|
DStarRepeater/dstarrepeaterd: Common/Common.a
|
||||||
|
make -C DStarRepeater dstarrepeaterd
|
||||||
|
|
||||||
|
DStarRepeaterConfig/dstarrepeaterconfig: GUICommon/GUICommon.a Common/Common.a
|
||||||
|
make -C DStarRepeaterConfig
|
||||||
|
|
||||||
|
GUICommon/GUICommon.a:
|
||||||
|
make -C GUICommon
|
||||||
|
|
||||||
|
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
|
||||||
|
make -C DStarRepeater clean
|
||||||
|
make -C DStarRepeaterConfig clean
|
||||||
|
|
||||||
Loading…
Reference in new issue