|
|
|
|
@ -6,7 +6,7 @@ dgwremotecontrol: ../VersionInfo/GitVersion.h $(OBJS) ../DStarBase/DStarBase.a .
|
|
|
|
|
$(CC) $(CPPFLAGS) -o dgwremotecontrol $(OBJS) ../DStarBase/DStarBase.a ../BaseCommon/BaseCommon.a $(LDFLAGS)
|
|
|
|
|
|
|
|
|
|
%.o : %.cpp
|
|
|
|
|
$(CC) -I../APRS -I../Common -I../BaseCommon -I../DStarBase -I../VersionInfo -DCFG_DIR='"$(CFG_DIR)"' $(CPPFLAGS) -MMD -MD -c $< -o $@
|
|
|
|
|
$(CC) -I../BaseCommon -I../DStarBase -I../VersionInfo -DCFG_DIR='"$(CFG_DIR)"' $(CPPFLAGS) -MMD -MD -c $< -o $@
|
|
|
|
|
|
|
|
|
|
.PHONY clean:
|
|
|
|
|
clean:
|
|
|
|
|
@ -19,8 +19,6 @@ install: dgwremotecontrol
|
|
|
|
|
|
|
|
|
|
# copy and adjust config
|
|
|
|
|
@cp -fn example.cfg $(CFG_DIR)/dgwremotecontrol.cfg
|
|
|
|
|
@sed -i "s|path=/var/log/dgwremotecontrol/|path=$(LOG_DIR)|g" $(CFG_DIR)/dgwremotecontrol.cfg
|
|
|
|
|
@sed -i "s|data=/usr/local/share/dgwremotecontrol.d/|data=$(DATA_DIR)|g" $(CFG_DIR)/dgwremotecontrol.cfg
|
|
|
|
|
|
|
|
|
|
../BaseCommon/BaseCommon.a:
|
|
|
|
|
../DStarBase/DStarBase.a:
|
|
|
|
|
|