c801d85f15
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
37 lines
671 B
Scala
37 lines
671 B
Scala
# Symantec C++ makefile for mdi example
|
|
# NOTE that peripheral libraries are now dealt in main wxWindows makefile.
|
|
|
|
WXDIR = $(WXWIN)
|
|
!include $(WXDIR)\src\makesc.env
|
|
|
|
WXLIB = $(WXDIR)\lib\wx.lib
|
|
INCDIR = $(WXDIR)\include
|
|
MSWINC = $(INCDIR)\msw
|
|
BASEINC = $(INCDIR)\base
|
|
|
|
CC=sc
|
|
RC=rc
|
|
CFLAGS = -o -ml -W -Dwx_msw
|
|
LDFLAGS = -ml -W
|
|
|
|
INCLUDE=$(BASEINC);$(MSWINC)
|
|
|
|
LIBS=$(WXLIB) libw.lib commdlg.lib shell.lib
|
|
|
|
.$(SRCSUFF).obj:
|
|
*$(CC) -c $(CFLAGS) -I$(INCLUDE) $<
|
|
|
|
.rc.res:
|
|
*$(RC) -r -I$(INCLUDE) $<
|
|
|
|
mdi.exe: mdi.obj mdi.def mdi.res
|
|
*$(CC) $(LDFLAGS) -o$@ mdi.obj mdi.def $(LIBS)
|
|
*$(RC) -k mdi.res
|
|
|
|
clean:
|
|
-del *.obj
|
|
-del *.exe
|
|
-del *.res
|
|
-del *.map
|
|
-del *.rws
|