]> 4ch.mooo.com Git - 16.git/blobdiff - 16/modex16/makefile
chikyuu img added~
[16.git] / 16 / modex16 / makefile
old mode 100644 (file)
new mode 100755 (executable)
index f4f4c19..b11f89a
@@ -1,10 +1,37 @@
-all: test.exe\r
+FLAGS=-0 \r
+all: test.exe pcxtest.exe test2.exe scroll.exe\r
 \r
-test.exe: test.obj modex16.obj\r
-       wcl -0 -d2 test.obj modex16.obj\r
+scroll.exe: scroll.obj modex16.obj dos_kb.obj bitmap.obj\r
+       wcl $(FLAGS) scroll.obj modex16.obj dos_kb.obj bitmap.obj\r
+scroll.obj: scroll.c\r
+       wcl $(FLAGS) -c scroll.c\r
+test.exe: test.obj modex16.obj bitmap.obj\r
+       wcl $(FLAGS) test.obj modex16.obj bitmap.obj\r
+       \r
+test2.exe: test2.obj modex16.obj bitmap.obj\r
+       wcl $(FLAGS) test2.obj modex16.obj bitmap.obj\r
+       \r
+pcxtest.exe: pcxtest.obj modex16.obj bitmap.obj\r
+       wcl $(FLAGS) pcxtest.obj modex16.obj bitmap.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
+dos_kb.obj: dos_kb.h dos_kb.c\r
+       wcl $(FLAGS) -c dos_kb.c\r
+\r
+bitmap.obj: bitmap.h bitmap.c\r
+       wcl $(FLAGS) -c bitmap.c\r
+       \r
+clean: \r
+       del *.obj\r
+       del *.exe\r