MinGW and Borland Makefiles

Add build instructions for nhraykey (untested)
This commit is contained in:
nethack.allison
2003-05-18 18:53:13 +00:00
parent 252460c70a
commit e827a395a1
2 changed files with 25 additions and 5 deletions

View File

@@ -612,7 +612,7 @@ $(SRC)\uuid.lib: $(bcclib)\uuid.lib
@copy $(bcclib)\uuid.lib $@
$(GAMEFILE) : $(ALLOBJ) $(NHRES) $(SRC)\uuid.lib \
$(GAMEDIR)\nhdefkey.dll
$(GAMEDIR)\nhdefkey.dll $(GAMEDIR)\nh340key.dll $(GAMEDIR)\nhraykey.dll
@echo Linking....
@$(link) $(lflags) $(startobjg) $(ALLOBJ), $@, $(GAME).map,$(libsmt),,$(NHRES)
@if exist $(O)install.tag del $(O)install.tag
@@ -661,6 +661,7 @@ $(GAMEDIR)\nh340key.dll : $(O)nh340key.o
@echo EXPORTS >nh340key.def
@echo ProcessKeystroke >>nh340key.def
@echo NHkbhit >>nh340key.def
@echo CheckInput >>nh340key.def
@echo SourceWhere >>nh340key.def
@echo SourceAuthor >>nh340key.def
@echo KeyHandlerName >>nh340key.def
@@ -668,6 +669,19 @@ $(GAMEDIR)\nh340key.dll : $(O)nh340key.o
$(link) $(linkdebug) /Gn /Gz /q -L$(bcclib) /c /aa /Tpd /V$(APPVER) -L$(bcclib) -v \
c0d32.obj $(O)nh340key.o, $@,nh340key.map,$(libsmt),nh340key.def
$(GAMEDIR)\nhraykey.dll : $(O)nhraykey.o
@if not exist $(GAMEDIR)\*.* mkdir $(GAMEDIR)
@echo EXPORTS >nhraykey.def
@echo ProcessKeystroke >>nhraykey.def
@echo NHkbhit >>nhraykey.def
@echo CheckInput >>nhraykey.def
@echo SourceWhere >>nhraykey.def
@echo SourceAuthor >>nhraykey.def
@echo KeyHandlerName >>nhraykey.def
@echo Linking $@
$(link) $(linkdebug) /Gn /Gz /q -L$(bcclib) /c /aa /Tpd /V$(APPVER) -L$(bcclib) -v \
c0d32.obj $(O)nhraykey.o, $@,nhraykey.map,$(libsmt),nhraykey.def
#
# Secondary Targets.
#