X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/82052affa7fae89b90755ef4785a2f8b843d5dad..ede7020ab37352c03ce6edaaf2fc080c731e97fd:/samples/thread/makefile.bcc?ds=sidebyside diff --git a/samples/thread/makefile.bcc b/samples/thread/makefile.bcc index cb230c867e..4900eac8d0 100644 --- a/samples/thread/makefile.bcc +++ b/samples/thread/makefile.bcc @@ -1,73 +1,14 @@ -# -# File: makefile.bcc -# Author: Julian Smart -# Created: 1993 -# Updated: -# Copyright: (c) 1993, AIAI, University of Edinburgh -# -# "%W% %G%" -# -# Makefile : Builds thread example (DOS). - -!if "$(BCCDIR)" == "" -!error You must define the BCCDIR variable in autoexec.bat, e.g. BCCDIR=d:\bc4 -!endif +# Purpose: makefile for thread example (BC++ 16bit) +# Created: 2000-03-15 !if "$(WXWIN)" == "" !error You must define the WXWIN variable in autoexec.bat, e.g. WXWIN=c:\wx !endif WXDIR = $(WXWIN) -!include $(WXDIR)\src\makebcc.env - -THISDIR = $(WXDIR)\samples\test -WXLIB = $(WXDIR)\lib\wx.lib -LIBS=$(WXLIB) mathwl cwl import -INC=-I$(WXDIR)\include\base -I$(WXDIR)\include\msw -CFG=$(WXDIR)\src\wxwin.cfg - -!ifndef FINAL -FINAL=0 -!endif - -!if "$(FINAL)" == "0" -LINKFLAGS=/v/Vt /Twe /L$(WXDIR)\lib;$(BCCDIR)\lib -OPT = -Od -DEBUG_FLAGS= -v -!else -LINKFLAGS=/Twe /L$(WXDIR)\lib;$(BCCDIR)\lib -OPT = -O2 -DEBUG_FLAGS= -!endif -CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG) - -OBJECTS = test.obj - -test: test.exe - -all: test.exe - -test.exe: $(WXLIB) test.obj test.def test.res - tlink $(LINKFLAGS) @&&! -c0wl.obj test.obj -test -nul -$(LIBS) -test.def -! - rc -31 -K test.res - -.$(SRCSUFF).obj: - bcc $(CPPFLAGS) -c {$< } -test.obj: test.$(SRCSUFF) +TARGET=thread +OBJECTS=$(TARGET).obj -test.res : test.rc $(WXDIR)\include\msw\wx.rc - rc -r /i$(BCCDIR)\include /i$(WXDIR)\include\msw /i$(WXDIR)\contrib\fafa test +!include $(WXDIR)\src\makeprog.bcc -clean: - -erase *.obj - -erase *.exe - -erase *.res - -erase *.map - -erase *.rws