diff --git a/DGWRemoteControl/Makefile b/DGWRemoteControl/Makefile index ca08e63..44e1fc3 100644 --- a/DGWRemoteControl/Makefile +++ b/DGWRemoteControl/Makefile @@ -6,11 +6,11 @@ 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../IRCDDB -I../VersionInfo $(CPPFLAGS) -MMD -MD -c $< -o $@ + $(CC) -I../APRS -I../Common -I../BaseCommon -I../DStarBase -I../VersionInfo -DCFG_DIR='"$(CFG_DIR)"' $(CPPFLAGS) -MMD -MD -c $< -o $@ .PHONY clean: clean: - $(RM) *.o *.d dgwremotecontrol.a + $(RM) *.o *.d dgwremotecontrol .PHONY install: install: dgwremotecontrol