-all: test.exe\r
+FLAGS=-0 -d3\r
+all: test.exe pcxtest.exe test2.exe\r
\r
test.exe: test.obj modex16.obj\r
- wcl -0 -d2 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 -0 -d2 -c test.c\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 -0 -d2 -c modex16.c\r
+ wcl $(FLAGS) -c modex16.c\r
+ \r
+clean: \r
+ del *.obj\r
+ del *.exe\r