wxWidgets/samples/layout/makefile.sc

38 lines
703 B
Python
Raw Normal View History

# Symantec C++ makefile for layout 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) $<
layout.exe: layout.obj layout.def layout.res
*$(CC) $(LDFLAGS) -o$@ layout.obj layout.def $(LIBS)
*$(RC) -k layout.res
clean:
-del *.obj
-del *.exe
-del *.res
-del *.map
-del *.rws