52 lines
1000 B
Plaintext
52 lines
1000 B
Plaintext
|
#
|
||
|
# File: makefile.nt
|
||
|
# Author: Julian Smart
|
||
|
# Created: 1993
|
||
|
# Updated:
|
||
|
# Copyright: (c) 1993, AIAI, University of Edinburgh
|
||
|
#
|
||
|
# "%W% %G%"
|
||
|
#
|
||
|
# Makefile : Builds sashtest example (MS VC++).
|
||
|
# Use FINAL=1 argument to nmake to build final version with no debugging
|
||
|
# info
|
||
|
|
||
|
# Set WXDIR for your system
|
||
|
WXDIR = $(WXWIN)
|
||
|
WXUSINGDLL=0
|
||
|
|
||
|
!include $(WXDIR)\src\ntwxwin.mak
|
||
|
|
||
|
PROGRAM=sashtest
|
||
|
PROGOBJECTS = $(PROGRAM).obj
|
||
|
|
||
|
all: $(PROGRAM)
|
||
|
|
||
|
$(PROGRAM): $(PROGRAM).exe
|
||
|
|
||
|
$(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(PROGOBJECTS) $(PROGRAM).res
|
||
|
$(link) @<<
|
||
|
-out:$(PROGRAM).exe
|
||
|
$(LINKFLAGS)
|
||
|
$(DUMMYOBJ) $(PROGOBJECTS) $(PROGRAM).res
|
||
|
$(LIBS)
|
||
|
<<
|
||
|
|
||
|
$(PROGRAM).obj: $(PROGRAM).$(SRCSUFF) $(DUMMYOBJ)
|
||
|
$(cc) @<<
|
||
|
$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
|
||
|
<<
|
||
|
|
||
|
$(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
|
||
|
$(rc) -r /i$(WXDIR)\include -fo$@ $(PROGRAM).rc
|
||
|
|
||
|
|
||
|
clean:
|
||
|
-erase *.obj
|
||
|
-erase *.exe
|
||
|
-erase *.res
|
||
|
-erase *.map
|
||
|
-erase *.sbr
|
||
|
-erase *.pdb
|
||
|
|