Add default NSOSDIR and msmouse unit rules

This commit is contained in:
Pierre Muller 2023-08-02 22:35:13 +02:00
parent 67ba21f8a8
commit 21b02cb56b

View File

@ -542,7 +542,9 @@ fpcdir=../..
ifndef OSDIR
OSDIR=.
endif
ifndef NSOSDIR
NSOSDIR=$(NSDIR)/$(OS_TARGET)
endif
ifndef PORTSDIR
PORTSDIR=$(OSDIR)
@ -904,6 +906,14 @@ dos$(PPUEXT): $(DOS_DEPS)
TP.DOS$(PPUEXT): $(NSINC)/TP.DOS.pp $(DOS_DEPS)
$(COMPILER) $(DOS_OPTS) $<
MSMOUSE_DEPS=msmouse.pp $(SYSTEMUNIT)$(PPUEXT)
msmouse$(PPUEXT) : $(MSMOUSE_DEPS)
$(COMPILER) $(MSMOUSE_OPTS) $<
DOSApi.MSMouse$(PPUEXT) : $(NSOSDIR)/DOSApi.MSMouse.pp $(MSMOUSE_DEPS)
$(COMPILER) $(MSMOUSE_OPTS) $<
###########################################
# Delphi Compatible Units