You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
812 B
30 lines
812 B
export DATADIR := "/usr/local/etc"
|
|
export LOGDIR := "/var/log"
|
|
export CONFDIR := "/etc"
|
|
|
|
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
|
|
|
|
all: DStarRepeater/dstarrepeater DStarRepeaterConfig/dstarrepeaterconfig
|
|
|
|
DStarRepeater/dstarrepeater: Common/Common.a
|
|
make -C DStarRepeater dstarrepeater
|
|
|
|
DStarRepeaterConfig/dstarrepeaterconfig: GUICommon/GUICommon.a Common/Common.a
|
|
make -C DStarRepeaterConfig
|
|
|
|
GUICommon/GUICommon.a:
|
|
make -C GUICommon
|
|
|
|
Common/Common.a:
|
|
make -C Common
|
|
|
|
clean:
|
|
make -C Common clean
|
|
make -C GUICommon clean
|
|
make -C DStarRepeater clean
|
|
make -C DStarRepeaterConfig clean
|
|
|