]> git.saurik.com Git - wxWidgets.git/blame - samples/sashtest/makefile.nt
Simplified BC++ makefiles; C++Builder 1.0 compilation seems to work;
[wxWidgets.git] / samples / sashtest / makefile.nt
CommitLineData
a6d70308
JS
1#
2# File: makefile.nt
3# Author: Julian Smart
4# Created: 1993
5# Updated:
6# Copyright: (c) 1993, AIAI, University of Edinburgh
7#
8# "%W% %G%"
9#
10# Makefile : Builds sashtest example (MS VC++).
11# Use FINAL=1 argument to nmake to build final version with no debugging
12# info
13
14# Set WXDIR for your system
15WXDIR = $(WXWIN)
16WXUSINGDLL=0
17
18!include $(WXDIR)\src\ntwxwin.mak
19
20PROGRAM=sashtest
21PROGOBJECTS = $(PROGRAM).obj
22
23all: $(PROGRAM)
24
25$(PROGRAM): $(PROGRAM).exe
26
27$(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(PROGOBJECTS) $(PROGRAM).res
28 $(link) @<<
29-out:$(PROGRAM).exe
30$(LINKFLAGS)
31$(DUMMYOBJ) $(PROGOBJECTS) $(PROGRAM).res
32$(LIBS)
33<<
34
35$(PROGRAM).obj: $(PROGRAM).$(SRCSUFF) $(DUMMYOBJ)
36 $(cc) @<<
37$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
38<<
39
40$(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
41 $(rc) -r /i$(WXDIR)\include -fo$@ $(PROGRAM).rc
42
43
44clean:
45 -erase *.obj
46 -erase *.exe
47 -erase *.res
48 -erase *.map
49 -erase *.sbr
50 -erase *.pdb
51