Added further keyboard sample makefiles

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2002-04-08 11:34:40 +00:00
parent fd775aae7b
commit c1ef9cdb46
9 changed files with 130 additions and 0 deletions

View File

@ -0,0 +1,16 @@
#
# File: makefile.b32
# Author: Julian Smart
# Created: 1999
# Updated:
# Copyright:
#
# Makefile : Builds sample for 32-bit BC++
WXDIR = $(WXWIN)
TARGET=keyboard
OBJECTS = $(TARGET).obj
!include $(WXDIR)\src\makeprog.b32

View File

@ -0,0 +1,19 @@
#
# File: makefile.bcc
# Author: Julian Smart
# Created: 1998
# Updated:
#
# Builds a BC++ 16-bit sample
!if "$(WXWIN)" == ""
!error You must define the WXWIN variable in autoexec.bat, e.g. WXWIN=c:\wx
!endif
WXDIR = $(WXWIN)
TARGET=keyboard
OBJECTS=$(TARGET).obj
!include $(WXDIR)\src\makeprog.bcc

View File

@ -0,0 +1,16 @@
#
# File: makefile.g95
# Author: Julian Smart
# Created: 1999
# Updated:
# Copyright: (c) Julian Smart, 1999
#
# Makefile for wxWindows sample (Cygwin/Mingw32).
WXDIR = ../..
TARGET=keyboard
OBJECTS = $(TARGET).o
include $(WXDIR)/src/makeprog.g95

View File

@ -0,0 +1,37 @@
; Last change: JS 8 Apr 102 12:33 pm
# Symantec C++ makefile
WXDIR = $(WXWIN)
WXLIB = $(WXDIR)\lib\wx.lib
INCDIR = $(WXDIR)\include
INCLUDE=$(INCDIR)
TARGET=keyboard
include $(WXDIR)\src\makesc.env
keyboard.exe: keyboard.obj $(DEFFILE) keyboard.res
*$(CC) $(LDFLAGS) -o$@ $** $(LIBS)
*$(RC) -k keyboard.res
sc32.def:
echo EXETYPE NT > sc32.def
echo SUBSYSTEM WINDOWS >> sc32.def
sc16.def:
echo NAME $(TARGET) > sc16.def
echo EXETYPE WINDOWS >> sc16.def
echo STUB 'WINSTUB.EXE' >> sc16.def
echo CODE PRELOAD MOVEABLE DISCARDABLE >> sc16.def
echo DATA PRELOAD MOVEABLE MULTIPLE >> sc16.def
echo HEAPSIZE 1024 >> sc16.def
echo STACKSIZE 8192 >> sc16.def
clean:
-del *.obj
-del *.exe
-del *.res
-del *.map
-del *.rws
-del sc32.def
-del sc16.def

View File

@ -0,0 +1,18 @@
#
# File: makefile.vc
# Author: Julian Smart
# Created: 1999
# Updated:
# Copyright: (c) Julian Smart
#
# Makefile : Builds sample (VC++, WIN32)
# Use FINAL=1 argument to nmake to build final version with no debug info.
# Set WXDIR for your system
WXDIR = $(WXWIN)
PROGRAM=keyboard
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.vc

View File

@ -0,0 +1,15 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = keyboard
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat

View File

@ -79,6 +79,8 @@ all:
cd $(WXDIR)\samples\html
make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
!endif
cd $(WXDIR)\samples\keyboard
make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
cd $(WXDIR)\samples\image
make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
cd $(WXDIR)\samples\internat
@ -225,6 +227,8 @@ clean:
make -f makefile.b32 clean
cd $(WXDIR)\samples\internat
make -f makefile.b32 clean
cd $(WXDIR)\samples\keyboard
make -f makefile.b32 clean
cd $(WXDIR)\samples\joytest
make -f makefile.b32 clean
cd $(WXDIR)\samples\layout

View File

@ -50,6 +50,7 @@ all clean:
-$(MAKE) -C internat $(CMDLINE) $@
-$(MAKE) -C ipc $(CMDLINE) $@
-$(MAKE) -C joytest $(CMDLINE) $@
-$(MAKE) -C keyboard $(CMDLINE) $@
-$(MAKE) -C layout $(CMDLINE) $@
-$(MAKE) -C listbox $(CMDLINE) $@
-$(MAKE) -C listctrl $(CMDLINE) $@

View File

@ -84,6 +84,8 @@ all:
nmake -f makefile.vc $(MAKEFLAGS)
cd $(WXDIR)\samples\joytest
nmake -f makefile.vc $(MAKEFLAGS)
cd $(WXDIR)\samples\keyboard
nmake -f makefile.vc $(MAKEFLAGS)
cd $(WXDIR)\samples\layout
nmake -f makefile.vc $(MAKEFLAGS)
cd $(WXDIR)\samples\listctrl
@ -206,6 +208,8 @@ clean:
nmake -f makefile.vc clean
cd $(WXDIR)\samples\joytest
nmake -f makefile.vc clean
cd $(WXDIR)\samples\keyboard
nmake -f makefile.vc clean
cd $(WXDIR)\samples\layout
nmake -f makefile.vc clean
cd $(WXDIR)\samples\listctrl