Some makefile corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e96360efd9
commit
779cedff87
@ -10,8 +10,7 @@
|
||||
WXDIR = $(WXWIN)
|
||||
|
||||
TARGET=ogledit
|
||||
EXTRALIBS=$(WXDIR)\contrib\lib\ogl.lib
|
||||
# EXTRACPPFLAGS=-I$(WXDIR)\utils\ogl\src
|
||||
EXTRALIBS=$(WXDIR)\lib\ogl.lib
|
||||
OBJECTS = $(TARGET).obj doc.obj view.obj palette.obj
|
||||
|
||||
!include $(WXDIR)\src\makeprog.b32
|
||||
|
@ -13,8 +13,7 @@
|
||||
WXDIR = $(WXWIN)
|
||||
|
||||
TARGET=ogledit
|
||||
EXTRALIBS=$(WXDIR)\contrib\lib\ogl.lib
|
||||
# EXTRACPPFLAGS=-I$(WXDIR)\utils\ogl\src
|
||||
EXTRALIBS=$(WXDIR)\lib\ogl.lib
|
||||
OBJECTS = $(TARGET).obj doc.obj view.obj palette.obj
|
||||
|
||||
!include $(WXDIR)\src\makeprog.b32
|
||||
|
@ -16,8 +16,8 @@ WXDIR = $(WXWIN)
|
||||
!include $(WXDIR)\src\makemsc.env
|
||||
|
||||
THISDIR = $(WXDIR)\contrib\samples\ogl\ogledit
|
||||
WXLIB = $(WXDIR)\contrib\lib\wx.lib
|
||||
OGLLIB = $(WXDIR)\contrib\lib\ogl.lib
|
||||
WXLIB = $(WXDIR)\lib\wx.lib
|
||||
OGLLIB = $(WXDIR)\lib\ogl.lib
|
||||
|
||||
LIBS=$(WXLIB) $(OGLLIB) oldnames libw llibcew commdlg shell ddeml
|
||||
|
||||
|
@ -18,9 +18,9 @@ PROGRAM=ogledit
|
||||
FINAL=0
|
||||
|
||||
!if "$(FINAL)" == "0"
|
||||
EXTRALIBS=$(WXDIR)\contrib\lib\ogld.lib
|
||||
EXTRALIBS=$(WXDIR)\lib\ogld.lib
|
||||
!else
|
||||
EXTRALIBS=$(WXDIR)\contrib\lib\ogl.lib
|
||||
EXTRALIBS=$(WXDIR)\lib\ogl.lib
|
||||
!endif
|
||||
|
||||
OBJECTS = $(PROGRAM).obj doc.obj view.obj palette.obj
|
||||
|
@ -8,7 +8,7 @@
|
||||
WXDIR = $(%WXWIN)
|
||||
|
||||
PROGRAM = ogledit
|
||||
EXTRALIBS = $(WXDIR)\contrib\lib\ogl.lib
|
||||
EXTRALIBS = $(WXDIR)\lib\ogl.lib
|
||||
OBJECTS = $(PROGRAM).obj doc.obj view.obj palette.obj
|
||||
|
||||
!include $(WXDIR)\src\makeprog.wat
|
||||
|
@ -10,7 +10,7 @@
|
||||
WXDIR = $(WXWIN)
|
||||
|
||||
TARGET=studio
|
||||
EXTRALIBS=$(WXDIR)\contrib\lib\ogl.lib
|
||||
EXTRALIBS=$(WXDIR)\lib\ogl.lib
|
||||
OBJECTS = $(TARGET).obj doc.obj shapes.obj symbols.obj view.obj cspalette.obj\
|
||||
mainfrm.obj project.obj dialogs.obj csprint.obj
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
WXDIR = $(WXWIN)
|
||||
|
||||
TARGET=studio
|
||||
EXTRALIBS=$(WXDIR)\contrib\lib\ogl.lib
|
||||
EXTRALIBS=$(WXDIR)\lib\ogl.lib
|
||||
OBJECTS = $(TARGET).obj doc.obj shapes.obj symbols.obj view.obj cspalette.obj\
|
||||
mainfrm.obj project.obj dialogs.obj csprint.obj
|
||||
|
||||
|
@ -18,9 +18,9 @@ PROGRAM=studio
|
||||
FINAL=0
|
||||
|
||||
!if "$(FINAL)" == "0"
|
||||
EXTRALIBS=$(WXDIR)\contrib\lib\ogld.lib
|
||||
EXTRALIBS=$(WXDIR)\lib\ogld.lib
|
||||
!else
|
||||
EXTRALIBS=$(WXDIR)\contrib\lib\ogl.lib
|
||||
EXTRALIBS=$(WXDIR)\lib\ogl.lib
|
||||
!endif
|
||||
|
||||
OBJECTS = $(PROGRAM).obj doc.obj shapes.obj symbols.obj view.obj cspalette.obj\
|
||||
|
@ -8,7 +8,7 @@
|
||||
WXDIR = $(%WXWIN)
|
||||
|
||||
PROGRAM = studio
|
||||
EXTRALIBS = $(WXDIR)\contrib\lib\ogl.lib
|
||||
EXTRALIBS = $(WXDIR)\lib\ogl.lib
|
||||
OBJECTS = $(PROGRAM).obj doc.obj shapes.obj symbols.obj view.obj cspalette.obj &
|
||||
mainfrm.obj project.obj dialogs.obj csprint.obj
|
||||
|
||||
|
@ -11,7 +11,7 @@ WXDIR = $(WXWIN)
|
||||
|
||||
TARGET=xmldemo
|
||||
|
||||
EXTRALIBS=$(WXDIR)\contrib\lib\wxxml.lib
|
||||
EXTRALIBS=$(WXDIR)\lib\wxxml.lib
|
||||
OBJECTS = $(TARGET).obj
|
||||
|
||||
!include $(WXDIR)\src\makeprog.b32
|
||||
|
@ -7,7 +7,7 @@ WXDIR = $(WXWIN)
|
||||
PROGRAM = xmldemo
|
||||
|
||||
OBJECTS = $(PROGRAM).obj
|
||||
EXTRALIBS = $(WXDIR)\contrib\lib\wxxml$(LIBEXT).lib
|
||||
EXTRALIBS = $(WXDIR)\lib\wxxml$(LIBEXT).lib
|
||||
EXTRAINC = -I$(WXDIR)\contrib\include
|
||||
|
||||
!include $(WXDIR)\src\makeprog.vc
|
||||
|
@ -50,7 +50,7 @@ BSC32=bscmake.exe
|
||||
# ADD BSC32 /nologo
|
||||
LIB32=link.exe -lib
|
||||
# ADD BASE LIB32 /nologo
|
||||
# ADD LIB32 /nologo /out:"..\..\lib\ogl.lib"
|
||||
# ADD LIB32 /nologo /out:"..\..\..\lib\ogl.lib"
|
||||
|
||||
!ELSEIF "$(CFG)" == "OglVC - Win32 Debug"
|
||||
|
||||
@ -74,7 +74,7 @@ BSC32=bscmake.exe
|
||||
# ADD BSC32 /nologo
|
||||
LIB32=link.exe -lib
|
||||
# ADD BASE LIB32 /nologo
|
||||
# ADD LIB32 /nologo /out:"..\..\lib\ogld.lib"
|
||||
# ADD LIB32 /nologo /out:"..\..\..\lib\ogld.lib"
|
||||
|
||||
!ENDIF
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
WXDIR = $(WXWIN)
|
||||
|
||||
LIBTARGET=$(WXDIR)\contrib\lib\ogl.lib
|
||||
LIBTARGET=$(WXDIR)\lib\ogl.lib
|
||||
|
||||
OBJECTS = basic.obj basic2.obj canvas.obj ogldiag.obj lines.obj misc.obj divided.obj constrnt.obj\
|
||||
composit.obj drawn.obj bmpshape.obj mfutils.obj
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
WXDIR = $(WXWIN)
|
||||
|
||||
LIBTARGET=$(WXDIR)\contrib\lib\ogl.lib
|
||||
LIBTARGET=$(WXDIR)\lib\ogl.lib
|
||||
|
||||
OBJECTS = basic.obj basic2.obj canvas.obj ogldiag.obj lines.obj misc.obj divided.obj constrnt.obj\
|
||||
composit.obj drawn.obj bmpshape.obj mfutils.obj
|
||||
|
@ -20,7 +20,7 @@ OGLDIR = $(WXDIR)\contrib\src\ogl
|
||||
THISDIR = $(OGLDIR)
|
||||
DOCDIR = $(WXDIR)\contrib\docs\latex\ogl
|
||||
|
||||
GRAPHICSLIB = $(WXDIR)\contrib\lib\ogl.lib
|
||||
GRAPHICSLIB = $(WXDIR)\lib\ogl.lib
|
||||
INC = /I$(WXDIR)\include /I$(WXDIR)\contrib\include
|
||||
|
||||
# Normally set OPTIONS =
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
WXDIR = ../../..
|
||||
|
||||
LIBTARGET=$(WXDIR)/contrib/lib/libogl.a
|
||||
LIBTARGET=$(WXDIR)/lib/libogl.a
|
||||
OBJECTS = basic.o basic2.o canvas.o ogldiag.o lines.o misc.o divided.o constrnt.o\
|
||||
composit.o drawn.o bmpshape.o mfutils.o
|
||||
|
||||
|
@ -28,7 +28,7 @@ PROGRAM=test
|
||||
OBJECTS = $(D)\basic.obj $(D)\basic2.obj $(D)\canvas.obj $(D)\ogldiag.obj $(D)\lines.obj $(D)\misc.obj $(D)\divided.obj $(D)\constrnt.obj\
|
||||
$(D)\composit.obj $(D)\drawn.obj $(D)\bmpshape.obj $(D)\mfutils.obj
|
||||
|
||||
LIBTARGET=$(WXDIR)\contrib\lib\ogl$(LIBEXT).lib
|
||||
LIBTARGET=$(WXDIR)\lib\ogl$(LIBEXT).lib
|
||||
|
||||
all: $(D) $(LIBTARGET)
|
||||
|
||||
|
@ -6,7 +6,7 @@ WXDIR = ..\..\..
|
||||
|
||||
EXTRACPPFLAGS=/DPROLOGIO
|
||||
|
||||
OGLLIB = $(WXDIR)\contrib\lib\ogl.lib
|
||||
OGLLIB = $(WXDIR)\lib\ogl.lib
|
||||
THISDIR = $(WXDIR)\src\ogl
|
||||
|
||||
NAME = ogl
|
||||
|
Loading…
Reference in New Issue
Block a user