# this makefile is for Borland C++ versions 2.0 or later under DOS # it might also work for GCC under LINUX .autodepend .swap # Compiler options OPT = -O -G -Z # uncomment this for optimization DEB = # -r- -N -k -v # uncomment this for debugging DEFS = -w-cln -w-sig -w-rch -w-stv -w-use -w-par -f -ff- # the -w-options are for ANSI compliance # -f means emulates FPU if absent # -ff- means use full ANSI floating point, not fast floating-point shortcuts CFLAGS = $(OPT) $(DEB) $(DEFS) LFLAGS = $(DEFS) # implicit rules .c.obj: bcc -c $(CFLAGS) $< # explicit rules exe: tm3get11 tm3get11: tm3get11.exe tm3get11.obj: tm3get11.c tass_dos.1 tass_dos.2 bcc -c $(CFLAGS) tm3get11.c tm3get11.exe: tm3get11.obj tm3get11.lin bcc $(LFLAGS) -M -etm3get11 @tass_lnk.bor clean: del *.obj del *.map