1 # Symantec C++ makefile for docview example
2 # NOTE that peripheral libraries are now dealt in main wxWindows makefile.
5 !include $(WXDIR)\src\makesc.env
7 WXLIB = $(WXDIR)\lib\wx.lib
8 INCDIR = $(WXDIR)\include
10 BASEINC = $(INCDIR)\base
14 CFLAGS = -o -ml -W -Dwx_msw
17 INCLUDE=$(BASEINC);$(MSWINC)
19 LIBS=$(WXLIB) libw.lib commdlg.lib shell.lib
21 OBJECTS=docview.obj view.obj doc.obj
24 *$(CC) -c $(CFLAGS) -I$(INCLUDE) $<
27 *$(RC) -r -I$(INCLUDE) $<
29 docview.exe: $(OBJECTS) docview.def docview.res
30 *$(CC) $(LDFLAGS) -o$@ $(OBJECTS) docview.def $(LIBS)