]>
Commit | Line | Data |
---|---|---|
2bda0e17 KB |
1 | # Common settings for Symantec |
2 | ||
3 | WXDIR = $(WXWIN) | |
4 | INCDIR = $(WXDIR)\include | |
2432b92d | 5 | LIBDIR = $(WXDIR)\lib |
3f1af920 | 6 | WXLIB = $(LIBDIR)\wx.lib |
2bda0e17 KB |
7 | |
8 | SRCSUFF = cpp | |
9 | OBJSUFF = obj | |
10 | ||
2432b92d JS |
11 | INCLUDE=$(INCDIR) |
12 | ||
2bda0e17 KB |
13 | # default values |
14 | ||
15 | CC=sc | |
16 | RC=rc | |
2432b92d | 17 | |
3f1af920 | 18 | # WIN16 settings |
3d05544e | 19 | #CFLAGS = -Jm -ml -W -D__WXMSW__ -D__SC__ -D__WXDEBUG__ -D__WINDOWS__ -D__WIN16__ $(EXTRACPPFLAGS) |
3f1af920 | 20 | #LINKER = link |
3d05544e JS |
21 | #LDFLAGS = -ml -W -L$(LINKER).exe $(EXTRALDFLAGS) |
22 | #LIBS=$(WXLIB) $(EXTRALIBS) libw.lib commdlg.lib ddeml.lib shell.lib # $(LIB)\ctl3dv2.lib | |
3f1af920 JS |
23 | #DEFFILE=sc16.def |
24 | ||
25 | # WIN32 settings | |
2432b92d | 26 | CFLAGS = -o -mn -W -D__NT__ -DWIN32 -D__WIN32__ -D__WINDOWS__ -D__WXMSW__ -D__SC__ -D__WXDEBUG__ $(EXTRACPPFLAGS) |
3f1af920 | 27 | LINKER = link386 |
3d05544e | 28 | LDFLAGS = -L$(LINKER).exe $(EXTRALDFLAGS) |
3f1af920 | 29 | LIBS=$(WXLIB) $(EXTRALIBS) ctl3d32.lib shell32.lib comdlg32.lib user32.lib gdi32.lib kernel32.lib winmm.lib |
3d05544e | 30 | DEFFILE=sc32.def |
2bda0e17 KB |
31 | |
32 | .$(SRCSUFF).obj: | |
2432b92d JS |
33 | *$(CC) -c $(CFLAGS) -I$(INCLUDE) $(OPTIONS) $< -o$@ |
34 | ||
35 | # -Jm: relaxed type checking | |
36 | .c.obj: | |
37 | *$(CC) -c $(CFLAGS) -I$(INCLUDE) $(OPTIONS) -DUSE_DEFINE -Jm $< -o$@ | |
2bda0e17 | 38 | |
3f1af920 JS |
39 | .rc.res: |
40 | *$(RC) -r -I$(INCLUDE) $< | |
41 |