]> git.saurik.com Git - wxWidgets.git/blob - utils/dialoged/src/makefile.sc
Clearly indicate that DialogEd requires wxr to compile.
[wxWidgets.git] / utils / dialoged / src / makefile.sc
1 # Symantec C++ makefile for Dialog Editor
2
3 WXDIR = $(WXWIN)
4 !include $(WXDIR)\src\makesc.env
5
6 WXLIB = $(WXDIR)\lib\wx.lib
7 INCDIR = $(WXDIR)\include
8 MSWINC = $(INCDIR)\msw
9 BASEINC = $(INCDIR)\base
10
11 CC=sc
12 RC=rc
13 CFLAGS = -o -ml -W -Dwx_msw
14 LDFLAGS = -ml -W
15
16 INCLUDE=$(BASEINC);$(MSWINC)
17 OBJECTS = wx_resed.obj wx_rdlg.obj wx_reswr.obj wx_repal.obj wx_rprop.obj dialoged.obj
18
19 LIBS=$(WXLIB) libw.lib commdlg.lib shell.lib
20
21 .$(SRCSUFF).obj:
22 *$(CC) -c $(CFLAGS) -I$(INCLUDE) $<
23
24 .rc.res:
25 *$(RC) -r -I$(INCLUDE) $<
26
27 dialoged.exe: $(OBJECTS) dialoged.def dialoged.res
28 *$(CC) $(LDFLAGS) -o$@ $(OBJECTS) dialoged.def $(LIBS)
29 *$(RC) -k dialoged.res
30
31 clean:
32 -del *.obj
33 -del *.exe
34 -del *.res
35 -del *.map
36 -del *.rws