-FLAGS=-0 -d2 -mh \r
-all: test.exe pcxtest.exe\r
+FLAGS=-0 \r
+all: test.exe pcxtest.exe test2.exe scroll.exe\r
\r
+scroll.exe: scroll.obj modex16.obj\r
+ wcl $(FLAGS) scroll.obj modex16.obj\r
+scroll.obj: scroll.c\r
+ wcl $(FLAGS) -c scroll.c\r
test.exe: test.obj modex16.obj\r
wcl $(FLAGS) test.obj modex16.obj\r
\r
+test2.exe: test2.obj modex16.obj\r
+ wcl $(FLAGS) test2.obj modex16.obj\r
+ \r
pcxtest.exe: pcxtest.obj modex16.obj\r
wcl $(FLAGS) pcxtest.obj modex16.obj\r
\r
test.obj: test.c modex16.h\r
wcl $(FLAGS) -c test.c\r
\r
+test2.obj: test2.c modex16.h\r
+ wcl $(FLAGS) -c test2.c\r
+ \r
pcxtest.obj: pcxtest.c modex16.h\r
wcl $(FLAGS) -c pcxtest.c\r
\r
modex16.obj: modex16.h modex16.c\r
wcl $(FLAGS) -c modex16.c\r
+ \r
+clean: \r
+ del *.obj\r
+ del *.exe\r