]> granicus.if.org Git - nethack/commitdiff
Windows Makefile.gcc update
authornhmall <nhmall@nethack.org>
Tue, 21 Sep 2021 07:40:17 +0000 (03:40 -0400)
committernhmall <nhmall@nethack.org>
Tue, 21 Sep 2021 07:40:17 +0000 (03:40 -0400)
tilemap needs to link with tilemap.o monst.o objects.o drawing.o

sys/windows/Makefile.gcc

index 2ac700ce5eaad6de4b678da83c26f16873dd1285..c81a116ae6771c704355b7ead55a0d4e192214e1 100644 (file)
@@ -1162,8 +1162,8 @@ $(SRC)/tile.c: $(U)tilemap.exe
        @echo A new $@ has been created
        @$(U)tilemap
 
-$(U)tilemap.exe: $(O)tilemap.o
-       $(link) $(LFLAGSU) -o$@ $(O)tilemap.o
+$(U)tilemap.exe: $(O)tilemap.o  $(O)monst.o $(O)objects.o $(O)drawing.o
+       $(link) $(LFLAGSU) -o$@ $(O)tilemap.o $(O)monst.o $(O)objects.o $(O)drawing.o
 
 $(O)tilemap.o: $(WSHR)/tilemap.c $(HACK_H)
        $(cc) $(CFLAGSU) -o$@ $(WSHR)/tilemap.c