New makefiles for samples under Visual C++

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
J. Russell Smyth
1999-03-12 00:29:34 +00:00
parent 1363811bb6
commit 299d04bca8
10 changed files with 110 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
#
# File: makefile.vc
# Author: J. Russell Smyth
# Created: 1999
# Updated:
# Copyright:
#
# "%W% %G%"
#
# Makefile : Builds framelayout samples for Win95, MSVC++ 4.0
# Use FINAL=1 argument to nmake to build final version with no debugging
# info
# Set WXDIR for your system
WXDIR = $(WXWIN)
THISDIR=$(WXDIR)\utils\framelayout\samples
!include $(WXDIR)\src\makevc.env
all:
cd $(WXDIR)\utils\framelayout\samples\test
nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\utils\framelayout\samples\demo
nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\utils\framelayout\samples\sample
nmake -f makefile.vc FINAL=$(FINAL)
clean:
cd $(WXDIR)\utils\framelayout\samples\test
nmake -f makefile.vc clean
cd $(WXDIR)\utils\framelayout\samples\demo
nmake -f makefile.vc clean
cd $(WXDIR)\utils\framelayout\samples\sample
nmake -f makefile.vc clean

View File

@@ -0,0 +1,21 @@
#
# File: makefile.vc
# Author: J Russell Smyth
# Created: 1999
# Updated:
# Copyright:
#
# Makefile : Builds frame layout demo
# Use FINAL=1 argument to nmake to build final version with no debug info.
# Set WXDIR for your system
WXDIR = $(WXWIN)
EXTRAINC = -I..\..\src
EXTRALIBS = $(WXDIR)\lib\fl.lib
EXTRAFLAGS = /DwxDUMMY_OBJ_INCLUDED
PROGRAM=fl_demo
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.vc

View File

@@ -51,7 +51,9 @@
#include "wxinfo.h" #include "wxinfo.h"
// ADDED by alex (linker complaints...): // ADDED by alex (linker complaints...):
#ifndef wxDUMMY_OBJ_INCLUDED
char wxDummyChar=0; char wxDummyChar=0;
#endif
/***** Implementation for class MyApp *****/ /***** Implementation for class MyApp *****/

View File

@@ -0,0 +1,2 @@
#include "wx/msw/wx.rc"

View File

@@ -0,0 +1,21 @@
#
# File: makefile.vc
# Author: J Russell Smyth
# Created: 1999
# Updated:
# Copyright:
#
# Makefile : Builds frame layout sample
# Use FINAL=1 argument to nmake to build final version with no debug info.
# Set WXDIR for your system
WXDIR = $(WXWIN)
EXTRAINC = -I..\..\src
EXTRALIBS = $(WXDIR)\lib\fl.lib
EXTRAFLAGS = /DwxDUMMY_OBJ_INCLUDED
PROGRAM=fl_sample
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.vc

View File

@@ -35,7 +35,9 @@
#include "wx/textctrl.h" #include "wx/textctrl.h"
// ADDED by alex (linker complaints...): // ADDED by alex (linker complaints...):
#ifndef wxDUMMY_OBJ_INCLUDED
char wxDummyChar=0; char wxDummyChar=0;
#endif
#define ID_LOAD 102 #define ID_LOAD 102
#define ID_STORE 103 #define ID_STORE 103

View File

@@ -0,0 +1,2 @@
#include "wx/msw/wx.rc"

View File

@@ -0,0 +1,21 @@
#
# 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)
EXTRAINC = -I..\..\src
EXTRALIBS = $(WXDIR)\lib\fl.lib
EXTRAFLAGS = /DwxDUMMY_OBJ_INCLUDED
PROGRAM=fl_test
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.vc

View File

@@ -48,7 +48,9 @@
// comment it out if it breaks, (this is my workaround for MSDev 4.0 linker) // comment it out if it breaks, (this is my workaround for MSDev 4.0 linker)
#ifndef wxDUMMY_OBJ_INCLUDED
char wxDummyChar; char wxDummyChar;
#endif
IMPLEMENT_APP (MyApp) IMPLEMENT_APP (MyApp)

View File

@@ -0,0 +1,2 @@
#include "wx/msw/wx.rc"