1 OBJS=main.obj lztimer.obj
\r
2 INCLUDES=modex.inc keyb.inc palette.inc page.inc scroll.inc map.inc \
\r
3 constant.inc init.inc
\r
7 cl -c -Zi -Od -W4 $*.c
\r
15 project: scroll.exe gensq.exe genmap.exe genpal.exe
\r
17 main.asm: $(INCLUDES)
\r
19 scroll.lnk: makefile
\r
20 echo $(OBJS: =+) > $*.lnk
\r
21 echo $(PROGRAM); >> $*.lnk
\r
23 scroll.exe: $(OBJS) scroll.lnk
\r
29 echo $*.obj; > $*.lnk
\r
31 gensq.exe: $*.obj $*.lnk
\r
35 genmap.lnk: makefile
\r
36 echo $*.obj; > $*.lnk
\r
38 genmap.exe: $*.obj $*.lnk
\r
42 genpal.lnk: makefile
\r
43 echo $*.obj; > $*.lnk
\r
45 genpal.exe: $*.obj $*.lnk
\r