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