]> 4ch.mooo.com Git - 16.git/blobdiff - 16/modex16/makefile
modified: 16/Project 16.bfproject
[16.git] / 16 / modex16 / makefile
index f4f4c19dda3e20d2b1875a8c95e426162d37190a..c48885b8e88b319ff3c7e970ab100b7310270097 100644 (file)
@@ -1,10 +1,27 @@
-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