diff --git a/src/doors/smurfcombat/GNUmakefile b/src/doors/smurfcombat/GNUmakefile index 6980f85bf3e08966dde6bcf06a502cdfc114eaf4..9102cde38f75aafdc99ed30de748da578cd00aff 100644 --- a/src/doors/smurfcombat/GNUmakefile +++ b/src/doors/smurfcombat/GNUmakefile @@ -16,3 +16,13 @@ LDFLAGS += -L$(SRC_ROOT)/odoors $(SMURF): $(EXEODIR) $(OBJS) $(BUILD_DEPENDS) @echo Linking $@ ${QUIET}$(CC) $(LDFLAGS) $(MT_LDFLAGS) $(OBJS) -o $@ $(CIOLIB-MT_LIBS) $(XPDEV-MT_LIBS) -lODoors + +dist:: $(SMURF) + rm -f $(SRC_ROOT)/*.so* $(SRC_ROOT)/*.a $(SRC_ROOT)/*.o + $(MAKE) -C $(SRC_ROOT)/odoors + -mkdir dist + cp install.sh dist + cp $(SMURF) dist/smurf.`uname` + cp *.d0* dist + cp *.doc dist + cp *.txt dist diff --git a/src/doors/smurfcombat/Makefile b/src/doors/smurfcombat/Makefile index ed3ffec2c4b8bfb0348ce5711b4a318a9dc25c35..9515fa1986dc5f03eaf1f128acac1ba4cc487e97 100644 --- a/src/doors/smurfcombat/Makefile +++ b/src/doors/smurfcombat/Makefile @@ -12,3 +12,11 @@ LDFLAGS = $(LDFLAGS) -L$(SRC_ROOT)/odoors $(SMURF): $(OBJS) @echo Linking $@ ${QUIET}$(CC) $(LDFLAGS) $(MT_LDFLAGS) -e$@ $(OBJS) $(CIOLIB-MT_LIBS) $(XPDEV-MT_LIBS) ODoors.lib + +dist:: $(SMURF) + -md dist + copy /Y $(SMURF) dist + copy /Y *.d0* dist + copy /Y *.doc dist + copy /Y *.txt dist + copy /Y install.bat dist