X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/457814b5aa2ee5c83abc65a6aee2a3ebcb1af34f..761df41e86ceeed56d32c038a6c9f88554d4f47a:/samples/dnd/makefile.dos diff --git a/samples/dnd/makefile.dos b/samples/dnd/makefile.dos index 46906a90e4..dd90a7a9df 100644 --- a/samples/dnd/makefile.dos +++ b/samples/dnd/makefile.dos @@ -1,65 +1,17 @@ # # File: makefile.dos # Author: Julian Smart -# Created: 1993 +# Created: 1998 # Updated: -# Copyright: (c) 1993, AIAI, University of Edinburgh # -# "%W% %G%" -# -# Makefile : Builds dnd example (DOS). +# Makefile : Builds 16-bit sample, VC++ 1.5 # Use FINAL=1 argument to nmake to build final version with no debugging # info WXDIR = $(WXWIN) -!include $(WXDIR)\src\makemsc.env - -THISDIR = $(WXDIR)\samples\dnd - -!ifndef FINAL -FINAL=0 -!endif - -HEADERS = -SOURCES = dnd.$(SRCSUFF) -OBJECTS = dnd.obj - -all: dnd.exe - -wx: - cd $(WXDIR)\src\msw - nmake -f makefile.dos FINAL=$(FINAL) - cd $(THISDIR) - -wxclean: - cd $(WXDIR)\src\msw - nmake -f makefile.dos clean - cd $(THISDIR) - -dnd.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) dnd.obj dnd.def dnd.res - link $(LINKFLAGS) @<< -dnd.obj $(WXDIR)\src\msw\dummy.obj, -dnd, -NUL, -$(LIBS), -dnd.def -; -<< - rc -K dnd.res - -dnd.obj: dnd.$(SRCSUFF) - cl @<< -$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) -<< +TARGET=dnd +OBJECTS=$(TARGET).obj -dnd.res : dnd.rc $(WXDIR)\include\wx\msw\wx.rc - rc -r /i$(WXDIR)\include dnd +!include $(WXDIR)\src\makeprog.msc -clean: - -erase *.obj - -erase *.exe - -erase *.res - -erase *.map - -erase *.sbr - -erase *.pdb