1998-05-30 13:10:15 -04:00
|
|
|
#
|
|
|
|
# File: makefile.dos
|
|
|
|
# Author: Julian Smart
|
|
|
|
# Created: 1993
|
|
|
|
# Updated:
|
|
|
|
# Copyright: (c) 1993, AIAI, University of Edinburgh
|
|
|
|
#
|
|
|
|
# "%W% %G%"
|
|
|
|
#
|
1998-07-10 06:36:57 -04:00
|
|
|
# Makefile : Builds controls example (DOS).
|
1998-05-30 13:10:15 -04:00
|
|
|
# Use FINAL=1 argument to nmake to build final version with no debugging
|
|
|
|
# info
|
|
|
|
|
|
|
|
WXDIR = $(WXWIN)
|
|
|
|
|
|
|
|
!include $(WXDIR)\src\makemsc.env
|
|
|
|
|
1998-07-10 06:36:57 -04:00
|
|
|
THISDIR = $(WXDIR)\samples\controls
|
1998-05-30 13:10:15 -04:00
|
|
|
|
|
|
|
!ifndef FINAL
|
|
|
|
FINAL=0
|
|
|
|
!endif
|
|
|
|
|
|
|
|
HEADERS =
|
1998-07-10 06:36:57 -04:00
|
|
|
SOURCES = controls.$(SRCSUFF)
|
|
|
|
OBJECTS = controls.obj
|
1998-05-30 13:10:15 -04:00
|
|
|
|
1998-07-10 06:36:57 -04:00
|
|
|
all: controls.exe
|
1998-05-30 13:10:15 -04:00
|
|
|
|
|
|
|
wx:
|
|
|
|
cd $(WXDIR)\src\msw
|
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
|
|
|
cd $(THISDIR)
|
|
|
|
|
|
|
|
wxclean:
|
|
|
|
cd $(WXDIR)\src\msw
|
|
|
|
nmake -f makefile.dos clean
|
|
|
|
cd $(THISDIR)
|
|
|
|
|
1998-07-10 06:36:57 -04:00
|
|
|
controls.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) controls.obj controls.def controls.res
|
1998-05-30 13:10:15 -04:00
|
|
|
link $(LINKFLAGS) @<<
|
1998-07-10 06:36:57 -04:00
|
|
|
controls.obj $(WXDIR)\src\msw\dummy.obj,
|
|
|
|
controls,
|
1998-05-30 13:10:15 -04:00
|
|
|
NUL,
|
|
|
|
$(LIBS),
|
1998-07-10 06:36:57 -04:00
|
|
|
controls.def
|
1998-05-30 13:10:15 -04:00
|
|
|
;
|
|
|
|
<<
|
1998-07-10 06:36:57 -04:00
|
|
|
rc -K controls.res
|
1998-05-30 13:10:15 -04:00
|
|
|
|
1998-07-10 06:36:57 -04:00
|
|
|
controls.obj: controls.$(SRCSUFF)
|
1998-05-30 13:10:15 -04:00
|
|
|
cl @<<
|
|
|
|
$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
|
|
|
|
<<
|
|
|
|
|
1998-07-10 06:36:57 -04:00
|
|
|
controls.res : controls.rc $(WXDIR)\include\wx\msw\wx.rc
|
|
|
|
rc -r /i$(WXDIR)\include controls
|
1998-05-30 13:10:15 -04:00
|
|
|
|
|
|
|
clean:
|
|
|
|
-erase *.obj
|
|
|
|
-erase *.exe
|
|
|
|
-erase *.res
|
|
|
|
-erase *.map
|
|
|
|
-erase *.sbr
|
|
|
|
-erase *.pdb
|