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:
35
utils/framelayout/samples/Makefile.vc
Normal file
35
utils/framelayout/samples/Makefile.vc
Normal 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
|
21
utils/framelayout/samples/demo/Makefile.vc
Normal file
21
utils/framelayout/samples/demo/Makefile.vc
Normal 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
|
||||||
|
|
@@ -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 *****/
|
||||||
|
|
||||||
|
2
utils/framelayout/samples/demo/fl_demo.rc
Normal file
2
utils/framelayout/samples/demo/fl_demo.rc
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
#include "wx/msw/wx.rc"
|
||||||
|
|
21
utils/framelayout/samples/sample/Makefile.vc
Normal file
21
utils/framelayout/samples/sample/Makefile.vc
Normal 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
|
||||||
|
|
@@ -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
|
||||||
|
2
utils/framelayout/samples/sample/fl_sample.rc
Normal file
2
utils/framelayout/samples/sample/fl_sample.rc
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
#include "wx/msw/wx.rc"
|
||||||
|
|
21
utils/framelayout/samples/test/Makefile.vc
Normal file
21
utils/framelayout/samples/test/Makefile.vc
Normal 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
|
||||||
|
|
@@ -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)
|
||||||
|
2
utils/framelayout/samples/test/fl_test.rc
Normal file
2
utils/framelayout/samples/test/fl_test.rc
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
#include "wx/msw/wx.rc"
|
||||||
|
|
Reference in New Issue
Block a user