Commit 96fc390e authored by rswindell's avatar rswindell
Browse files

Created 'install' and 'symlinks' targets to ease the copying (install) or...

Created 'install' and 'symlinks' targets to ease the copying (install) or creating of symlinks after build, requires SBBSEXEC env var
parent 4137540b
......@@ -14,7 +14,16 @@ all: xpdev-mt \
smblib \
$(EXEODIR) \
$(MTOBJODIR) \
$(LIBODIR) \
$(SCFG)
ifdef SBBSEXEC
.PHONY: install
install:
install $(EXEODIR)/* $(SBBSEXEC)
.PHONY: symlinks
symlinks:
ln -sfr $(EXEODIR)/* $(SBBSEXEC)
endif
$(SCFG): $(XPDEV-MT_LIB) $(UIFCLIB-MT) $(CIOLIB-MT)
......@@ -65,6 +65,18 @@ mono: xpdev-mt smblib \
$(MTOBJODIR) $(EXEODIR) \
$(SBBSMONO)
ifdef SBBSEXEC
.PHONY: install
install:
install $(EXEODIR)/* $(SBBSEXEC)
install $(LIBODIR)/* $(SBBSEXEC)
.PHONY: symlinks
symlinks:
ln -sfr $(EXEODIR)/* $(SBBSEXEC)
ln -sfr $(LIBODIR)/* $(SBBSEXEC)
endif
.PHONY: sexyz
sexyz: $(SEXYZ)
......
......@@ -2,4 +2,13 @@ UEDIT = $(EXEODIR)$(DIRSEP)uedit$(EXEFILE)
all: smblib uifc-mt ciolib-mt xpdev-mt $(MTOBJODIR) $(EXEODIR) $(UEDIT)
ifdef SBBSEXEC
.PHONY: install
install:
install $(EXEODIR)/* $(SBBSEXEC)
.PHONY: symlinks
symlinks:
ln -sfr $(EXEODIR)/* $(SBBSEXEC)
endif
$(UEDIT): $(SMBLIB) $(UIFCLIB-MT) $(CIOLIB-MT) $(XPDEV-MT_LIB)
......@@ -2,4 +2,14 @@ UMONITOR = $(EXEODIR)$(DIRSEP)umonitor$(EXEFILE)
all: ciolib-mt uifc-mt xpdev-mt smblib $(MTOBJODIR) $(EXEODIR) $(UMONITOR)
ifdef SBBSEXEC
.PHONY: install
install:
install $(EXEODIR)/* $(SBBSEXEC)
.PHONY: symlinks
symlinks:
ln -sfr $(EXEODIR)/* $(SBBSEXEC)
endif
$(UMONITOR): $(CIOLIB-MT) $(UIFCLIB-MT) $(XPDEV-MT_LIB) $(SMBLIB)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment