X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b6a158b04e7784dc30ad8fc043eb94ae71c19e4f..b6b85bdccb56b9eb8d4e5ebce4dc3ff776fc9ce8:/samples/dynamic/makefile.dos diff --git a/samples/dynamic/makefile.dos b/samples/dynamic/makefile.dos index 1305df9589..d4109ed7dc 100644 --- a/samples/dynamic/makefile.dos +++ b/samples/dynamic/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 dynamic 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\dynamic - -!ifndef FINAL -FINAL=0 -!endif - -HEADERS = -SOURCES = dynamic.$(SRCSUFF) -OBJECTS = dynamic.obj - -all: dynamic.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) - -dynamic.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) dynamic.obj dynamic.def dynamic.res - link $(LINKFLAGS) @<< -dynamic.obj $(WXDIR)\src\msw\dummy.obj, -dynamic, -NUL, -$(LIBS), -dynamic.def -; -<< - rc -K dynamic.res - -dynamic.obj: dynamic.$(SRCSUFF) - cl @<< -$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) -<< +TARGET=dynamic +OBJECTS=$(TARGET).obj -dynamic.res : dynamic.rc $(WXDIR)\include\wx\msw\wx.rc - rc -r /i$(WXDIR)\include dynamic +!include $(WXDIR)\src\makeprog.msc -clean: - -erase *.obj - -erase *.exe - -erase *.res - -erase *.map - -erase *.sbr - -erase *.pdb