Skip to content
Snippets Groups Projects
Commit 7d14433c authored by deuce's avatar deuce
Browse files

Added the "dist" targets which create/fill a dist dir with the distribution

files.
parent 1280ba34
No related branches found
No related tags found
No related merge requests found
......@@ -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
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment