1 # This is a Borland-specific Makefile. It may or may not work with
\r
2 # other makes. Please mail me your changes to make it more portable.
\r
6 CC = bcc -ml -v -y -O -O2
\r
8 all: tweak utilities examples oldtweak
\r
10 oldtweak: tweak095.exe
\r
11 examples: example1.exe example2.exe
\r
12 utilities: tweak2c.exe 09to10.exe
\r
14 tweak.exe: tweak.obj register.obj namedreg.obj regtable.obj screen.obj \
\r
15 testpat.obj vgalib.obj regedit.obj detect.obj
\r
16 $(CC) tweak.obj register.obj namedreg.obj regtable.obj screen.obj \
\r
17 testpat.obj vgalib.obj regedit.obj detect.obj
\r
19 09to10.exe: 09to10.obj register.obj
\r
20 $(CC) 09to10.obj register.obj
\r
22 example1.exe: example1.obj twkuser.obj
\r
23 $(CC) example1.obj twkuser.obj
\r
25 example2.exe: example2.obj twkuser.obj tweak2c.exe 320x240.c
\r
26 $(CC) example2.obj twkuser.obj
\r
28 tweak2c.exe: tweak2c.obj twkuser.obj
\r
29 $(CC) tweak2c.obj twkuser.obj
\r
31 320x240.c: tweak2c.exe 320x240.256
\r
32 tweak2c 320x240.256 320x240.c Mode320x240
\r
35 tweak2c $< $*.c Mode$*
\r
38 tweak2c $< $*.c Mode$*
\r
41 tweak2c $< $*.c Mode$*
\r