.AUTODEPEND # $Platon: games/mines/Makefile.dos,v 1.2 2003/05/18 22:51:41 nepto Exp $ # # *Translator Definitions* # CC = bcc +mines.cfg TASM = TASM TLIB = tlib TLINK = tlink LIBPATH = Y:\PROG\BC\LIB INCLUDEPATH = _shared;Y:\PROG\BC\INCLUDE # # BGI (Borland Graphics Interface) driver object handling # BGIPATH = Y:\PROG\BC\BGI BGIOBJ = bgiobj.exe BGIDRV = egavga.bgi BGIDRVOBJ = egavga.obj BGIDRVNAME = _EGAVGA_driver # # *Implicit Rules* # .c.obj: $(CC) -c {$< } .cpp.obj: $(CC) -c {$< } # # *List Macros* # EXE_dependencies = \ hiscore.obj \ mines.obj \ my-graph.obj \ standart.obj \ mouse.obj \ menu.obj \ $(BGIDRVOBJ) # # *Explicit Rules* # mines.exe: mines.cfg $(EXE_dependencies) $(TLINK) /x/c/P-/L$(LIBPATH) @&&| c0l.obj+ hiscore.obj+ mines.obj+ my-graph.obj+ standart.obj+ mouse.obj+ menu.obj+ $(BGIDRVOBJ) mines # no map file graphics.lib+ emu.lib+ mathl.lib+ cl.lib | # # clean # clean: del *.obj del *.bak del mines.cfg del mines.exe # # *Individual File Dependencies* # hiscore.obj: mines.cfg hiscore.c hiscore.h mines.obj: mines.cfg mines.c my-graph.obj: mines.cfg _shared\my-graph.c _shared\my-graph.h $(CC) -c _shared\my-graph.c standart.obj: mines.cfg _shared\stshared.c _shared\standart.c _shared\standart.h $(CC) -c _shared\standart.c mouse.obj: mines.cfg _shared\mouse.c _shared\mouse.h $(CC) -c _shared\mouse.c menu.obj: mines.cfg _shared\menu.c _shared\menu.h $(CC) -c _shared\menu.c $(BGIDRVOBJ): $(BGIPATH)\$(BGIOBJ) $(BGIPATH)\$(BGIDRV) $(BGIDRVOBJ) $(BGIDRVNAME) # # *Compiler Configuration File* # mines.cfg: Makefile.dos copy &&| -DPLATON_SYSTEM_MSDOS -DPACKAGE="$(PACKAGE)" -DVERSION="$(VERSION)" -g1 -j1 -ml -ff- -w+ -N -v -G -Z -k- -d -b- -vi- -I$(INCLUDEPATH) -L$(LIBPATH) -P -O -Og -Oe -Om -Ov -Ol -Ob -Op -Oi | mines.cfg