Files
wxWidgets/src/makeprog.va
David Webster 2912e35f17 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 17:11:02 +00:00

45 lines
1007 B
Plaintext

#
# File: makeprog.va
# Author: David Webster
# Created: 1999
# Updated:
# Copyright: (c) David Webster
#
# Makefile environment for building samples. Include this from
# your own makefile.
# Use FINAL=1 argument to nmake to build final version with no debugging
# info
all: $(PROGRAM).exe
wx:
cd $(WXDIR)\src\os2
nmake -f makefile.va FINAL=$(FINAL)
# cd $(THISDIR)
wxclean:
cd $(WXDIR)\src\os2
nmake -f makefile.va clean
# cd $(THISDIR)
$(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(OBJECTS) $(PROGRAM).res
@echo " Link::Linker "
$(LINK) @<<
/B" $(LINKFLAGS)" /Fe$@
$(LINKLIBS)
$(OBJECTS)
$(LIBS)
<<
$(RC) $(PROGRAM).res $(PROGRAM).exe
$(PROGRAM).res : $(PROGRAM).rcO $(WXDIR)\include\wx\os2\wx.rc
$(RC) -I $(WXDIR)\include -D __VISAGECPP__ -r $(PROGRAM).rcO $(PROGRAM).res
clean:
-erase $(OBJECTS)
-erase *.exe
-erase *.obj
-erase *.res
-erase *.map