|
|
|
@ -3,7 +3,8 @@ OBJS = $(SRCS:.cpp=.o)
|
|
|
|
DEPS = $(SRCS:.cpp=.d)
|
|
|
|
DEPS = $(SRCS:.cpp=.d)
|
|
|
|
|
|
|
|
|
|
|
|
dgwtimeserver: ../VersionInfo/GitVersion.h $(OBJS) ../DStarBase/DStarBase.a ../BaseCommon/BaseCommon.a
|
|
|
|
dgwtimeserver: ../VersionInfo/GitVersion.h $(OBJS) ../DStarBase/DStarBase.a ../BaseCommon/BaseCommon.a
|
|
|
|
$(CC) $(CPPFLAGS) -o dgwtimeserver $(OBJS) ../DStarBase/DStarBase.a ../BaseCommon/BaseCommon.a $(LDFLAGS)
|
|
|
|
# $(CC) $(CPPFLAGS) -o dgwtimeserver $(OBJS) ../DStarBase/DStarBase.a ../BaseCommon/BaseCommon.a $(LDFLAGS)
|
|
|
|
|
|
|
|
echo bla
|
|
|
|
|
|
|
|
|
|
|
|
%.o : %.cpp
|
|
|
|
%.o : %.cpp
|
|
|
|
$(CC) -I../BaseCommon -I../DStarBase -I../VersionInfo $(CPPFLAGS) -MMD -MD -c $< -o $@
|
|
|
|
$(CC) -I../BaseCommon -I../DStarBase -I../VersionInfo $(CPPFLAGS) -MMD -MD -c $< -o $@
|
|
|
|
@ -15,7 +16,7 @@ clean:
|
|
|
|
.PHONY install:
|
|
|
|
.PHONY install:
|
|
|
|
install: dgwtimeserver
|
|
|
|
install: dgwtimeserver
|
|
|
|
# copy executable
|
|
|
|
# copy executable
|
|
|
|
@cp -f dgwtimeserver $(BIN_DIR)
|
|
|
|
# @cp -f dgwtimeserver $(BIN_DIR)
|
|
|
|
|
|
|
|
|
|
|
|
../BaseCommon/BaseCommon.a:
|
|
|
|
../BaseCommon/BaseCommon.a:
|
|
|
|
../DStarBase/DStarBase.a:
|
|
|
|
../DStarBase/DStarBase.a:
|
|
|
|
|