-!include $(WXDIR)\src\makebcc.env
-
-THISDIR = $(WXDIR)\utils\ogl\samples\ogledit
-
-OGLDIR = $(WXDIR)\utils\ogl
-OGLINC = $(OGLDIR)\src
-OGLLIB = $(OGLDIR)\lib\ogl.lib
-
-WXLIB = $(WXDIR)\lib\wx.lib
-LIBS=$(WXLIB) $(OGLLIB) mathwl cwl import
-INC=/I$(OGLINC)
-CFG=$(WXDIR)\src\wxwin.cfg
-
-!if "$(FINAL)" == "0"
-LINKFLAGS=/v/Vt /Twe /L$(WXDIR)\lib;$(BCCDIR)\lib
-OPT = -Od
-DEBUG_FLAGS= -v
-!else
-LINKFLAGS=/Twe /L$(WXDIR)\lib;$(BCCDIR)\lib
-OPT = -O2
-DEBUG_FLAGS =
-!endif
-CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
-
-OBJECTS = ogledit.obj doc.obj view.obj palette.obj
-
-all: ogl ogledit.exe
-
-ogl:
- cd $(OGLDIR)\src
- make -f makefile.bcc
- cd $(THISDIR)
-
-ogledit.exe: $(WXLIB) $(OBJECTS) ogledit.def ogledit.res
- tlink $(LINKFLAGS) @&&!
-c0wl.obj $(OBJECTS)
-ogledit
-nul
-$(LIBS)
-ogledit.def
-!
- rc -30 -K ogledit.res
-
-.$(SRCSUFF).obj:
- bcc $(CPPFLAGS) $(INC) -c {$< }
-
-ogledit.obj: ogledit.$(SRCSUFF)
-
-doc.obj: doc.$(SRCSUFF)
-
-view.obj: view.$(SRCSUFF)