]> 4ch.mooo.com Git - 16.git/blob - 16/tweak16/MAKEFILE
added tweak16 for experiments
[16.git] / 16 / tweak16 / MAKEFILE
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
3 \r
4 .autodepend\r
5 \r
6 CC = bcc -ml -v -y -O -O2\r
7 \r
8 all: tweak utilities examples oldtweak\r
9 tweak: tweak.exe\r
10 oldtweak: tweak095.exe\r
11 examples: example1.exe example2.exe\r
12 utilities: tweak2c.exe 09to10.exe\r
13 \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
18 \r
19 09to10.exe: 09to10.obj register.obj\r
20         $(CC) 09to10.obj register.obj\r
21 \r
22 example1.exe: example1.obj twkuser.obj\r
23         $(CC) example1.obj twkuser.obj\r
24 \r
25 example2.exe: example2.obj twkuser.obj tweak2c.exe 320x240.c\r
26         $(CC) example2.obj twkuser.obj\r
27 \r
28 tweak2c.exe: tweak2c.obj twkuser.obj\r
29         $(CC) tweak2c.obj twkuser.obj\r
30 \r
31 320x240.c: tweak2c.exe 320x240.256\r
32         tweak2c 320x240.256 320x240.c Mode320x240\r
33 \r
34 .256.c:\r
35         tweak2c $< $*.c Mode$*\r
36 \r
37 .16.c:\r
38         tweak2c $< $*.c Mode$*\r
39 \r
40 .twk.c:\r
41         tweak2c $< $*.c Mode$*\r
42 \r
43 .c.obj:\r
44         $(CC) -c {$< }\r
45 \r
46 .cpp.obj:\r
47         $(CC) -c {$< }\r
48 \r
49 .obj.exe:\r
50         $(CC) $<\r