]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/joytest/makefile.dos
part of Ictrl -> Iscntrl change I forgot to commit (not important, anyhow)
[wxWidgets.git] / samples / joytest / makefile.dos
index b2ddbcf9f5ef1107cd5761f9dd748e665d45fc6d..ea15c62cceda3c2c7630d8e034aec59d060bcd27 100644 (file)
@@ -1,63 +1,10 @@
-#
-# File:                makefile.dos
-# Author:      Julian Smart
-# Created:     1993
-# Updated:     
-# Copyright:   (c) 1993, AIAI, University of Edinburgh
-#
-# "%W% %G%"
-#
-# Makefile : Builds joytest example (DOS).
-# Use FINAL=1 argument to nmake to build final version with no debugging
-# info
+# Purpose: makefile for joytest example (VC++ 1.5x)
+# Created: 2000-03-14
 
 WXDIR = $(WXWIN)
 
-!include $(WXDIR)\src\makemsc.env
+TARGET=joytest
+OBJECTS=$(TARGET).obj
 
-THISDIR = $(WXDIR)\samples\joytest
-INC=/I$(WXDIR)\include
+!include $(WXDIR)\src\makeprog.msc
 
-HEADERS = joytest.h
-SOURCES = joytest.$(SRCSUFF)
-OBJECTS = joytest.obj
-
-all:    joytest.exe
-
-wx:
-        cd $(WXDIR)\src\msw
-        nmake -f makefile.dos
-        cd $(THISDIR)
-
-wxclean:
-        cd $(WXDIR)\src\msw
-        nmake -f makefile.dos clean
-        cd $(THISDIR)
-
-
-joytest.exe:      $(WXDIR)\src\msw\dummy.obj $(WXLIB) joytest.obj joytest.def joytest.res
-        link $(LINKFLAGS) @<<
-$(WXDIR)\src\msw\dummy.obj joytest.obj,
-joytest,
-NUL,
-$(LIBS),
-joytest.def
-;
-<<
-        rc -K joytest.res
-
-joytest.obj:      joytest.h joytest.$(SRCSUFF)
-        cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
-<<
-
-joytest.res :      joytest.rc $(WXDIR)\include\wx\msw\wx.rc
-    rc -r /i$(WXDIR)\include joytest
-
-clean:
-        -erase *.obj
-        -erase *.exe
-        -erase *.res
-        -erase *.map
-        -erase *.sbr
-        -erase *.pdb