]> git.saurik.com Git - wxWidgets.git/blob - samples/resource/makefile.sc
fixed wxSocket::_Wait() for worker threads in an MT program
[wxWidgets.git] / samples / resource / makefile.sc
1 # Symantec C++ makefile for hello example
2 # NOTE that peripheral libraries are now dealt in main wxWindows makefile.
3
4 WXDIR = $(WXWIN)
5 WXLIB = $(WXDIR)\lib\wx.lib
6 INCDIR = $(WXDIR)\include
7 MSWINC = $(INCDIR)\msw
8 BASEINC = $(INCDIR)\base
9
10 CC=sc
11 RC=rc
12 CFLAGS = -o -ml -W -Dwx_msw
13 LDFLAGS = -ml -W
14
15 INCLUDE=$(BASEINC);$(MSWINC)
16
17 LIBS=$(WXLIB) libw.lib commdlg.lib shell.lib
18
19 .cc.obj:
20 *$(CC) -c $(CFLAGS) -I$(INCLUDE) $<
21
22 .rc.res:
23 *$(RC) -r -I$(INCLUDE) $<
24
25 hello.exe: hello.obj hello.def hello.res
26 *$(CC) $(LDFLAGS) -o$@ hello.obj hello.def $(LIBS)
27 *$(RC) -k hello.res
28
29 clean:
30 -del *.obj
31 -del *.exe
32 -del *.res
33 -del *.map
34 -del *.rws
35