From: nhmall Date: Mon, 13 Apr 2015 00:27:21 +0000 (-0400) Subject: fix Makefile build in branch X-Git-Tag: NetHack-3.6.0_RC01~414^2~34^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6e62d5636718c8e935963723fd5d3f0faa0c4eff;p=nethack fix Makefile build in branch --- diff --git a/sys/winnt/Makefile.msc b/sys/winnt/Makefile.msc index 4b5a77da6..f15f4d901 100644 --- a/sys/winnt/Makefile.msc +++ b/sys/winnt/Makefile.msc @@ -460,6 +460,9 @@ DLB = {$(SSYS)}.c{$(OBJ)}.o: @$(CC) $(cflagsUtil) -Fo$@ $< +{$(SSYS)}.cpp{$(OBJ)}.o: + @$(CC) $(cflagsUtil) -Fo$@ $< + #========================================== # Rules for files in sys\winnt #========================================== @@ -588,6 +591,8 @@ VOBJ27 = $(O)worm.o $(O)worn.o $(O)write.o $(O)zap.o DLBOBJ = $(O)dlb.o +REGEX = $(O)cppregex.o + TTYOBJ = $(O)topl.o $(O)getline.o $(O)wintty.o SOBJ = $(O)winnt.o $(O)pcsys.o $(O)pcunix.o \ @@ -598,7 +603,7 @@ OBJS = $(VOBJ01) $(VOBJ02) $(VOBJ03) $(VOBJ04) $(VOBJ05) \ $(VOBJ11) $(VOBJ12) $(VOBJ13) $(VOBJ14) $(VOBJ15) \ $(VOBJ16) $(VOBJ17) $(VOBJ18) $(VOBJ19) $(VOBJ20) \ $(VOBJ21) $(VOBJ22) $(VOBJ23) $(VOBJ24) $(VOBJ25) \ - $(VOBJ26) $(VOBJ27) $(VOBJ28) $(VOBJ29) + $(VOBJ26) $(VOBJ27) $(VOBJ28) $(VOBJ29) $(REGEX) WINPOBJ = $(WINPORT) @@ -1409,6 +1414,13 @@ $(O)ntsound.o: $(HACK_H) $(MSWSYS)\ntsound.c $(O)panic.o: $(U)panic.c $(CONFIG_H) @$(CC) $(cflagsUtil) -Fo$@ $(U)panic.c +# +# sys/share dependencies +# + +#(O)cppregex.o: $(O)cppregex.cpp $(HACK_H) + @$(CC) $(cflagsUtil) -Fo$@ ..\sys\share\cppregex.cpp + # # The rest are stolen from sys/unix/Makefile.src, # with the following changes: