#
# File: makefile.dos
-# Author: Julian Smart
-# Created: 1993
+# Author: Michael Bedward
+# Created: 1999
# Updated:
-# Copyright: (c) 1993, AIAI, University of Edinburgh
#
-# "%W% %G%"
-#
-# Makefile : Builds grid test 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\test
-
-!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 -30 -K test.res
-
-test.obj: test.$(SRCSUFF)
- cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
-<<
+TARGET=griddemo
+OBJECTS=$(TARGET).obj
-test.res : test.rc $(WXDIR)\include\wx\msw\wx.rc
- rc -r /dFAFA_LIB /i$(WXDIR)\include test
+!include $(WXDIR)\src\makeprog.msc
-clean:
- -erase *.obj
- -erase *.exe
- -erase *.res
- -erase *.map
- -erase *.sbr
- -erase *.pdb