# Do not modify, all changes will be overwritten!
# =========================================================================
+.autodepend
+
!ifndef BCCDIR
+!ifndef MAKEDIR
+!error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
+!endif
BCCDIR = $(MAKEDIR)\..
!endif
# Do not modify the rest of this file!
# -------------------------------------------------------------------------
-!if "$(BCCDIR)" == "\.."
-!error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
-!endif
-
### Variables: ###
MAKEARGS = -DCPPFLAGS="$(CPPFLAGS)" -DDEBUG_FLAG="$(DEBUG_FLAG)" \
### Targets: ###
-all: tex2rtf helpgen
+all: configtool emulator helpview tex2rtf helpgen
clean:
-if exist .\*.obj del .\*.obj
-if exist .\*.res del .\*.res
+configtool:
+ cd configtool\src
+ $(MAKE) -f makefile.bcc $(MAKEARGS) all
+ cd ..\..
+
+emulator:
+ cd emulator\src
+ $(MAKE) -f makefile.bcc $(MAKEARGS) all
+ cd ..\..
+
helpgen:
cd HelpGen
$(MAKE) -f makefile.bcc $(MAKEARGS) all
cd ..
+helpview:
+ cd helpview\src
+ $(MAKE) -f makefile.bcc $(MAKEARGS) all
+ cd ..\..
+
tex2rtf:
cd tex2rtf\src
$(MAKE) -f makefile.bcc $(MAKEARGS) all