X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=16%2Fmodex16%2Fmakefile;h=e0a07cc4ecc9f577e2c5d2273685644a00df5c15;hb=067c2ee7341922ae714b4ce18e520aab7c7b5b5f;hp=f4f4c19dda3e20d2b1875a8c95e426162d37190a;hpb=3686f3bf9c15445091aef92692ccf3486389efbc;p=16.git diff --git a/16/modex16/makefile b/16/modex16/makefile index f4f4c19d..e0a07cc4 100644 --- a/16/modex16/makefile +++ b/16/modex16/makefile @@ -1,10 +1,31 @@ -all: test.exe +FLAGS=-0 +all: test.exe pcxtest.exe test2.exe scroll.exe +scroll.exe: scroll.obj modex16.obj + wcl $(FLAGS) scroll.obj modex16.obj +scroll.obj: scroll.c + wcl $(FLAGS) -c scroll.c test.exe: test.obj modex16.obj - wcl -0 -d2 test.obj modex16.obj + wcl $(FLAGS) test.obj modex16.obj + +test2.exe: test2.obj modex16.obj + wcl $(FLAGS) test2.obj modex16.obj + +pcxtest.exe: pcxtest.obj modex16.obj + wcl $(FLAGS) pcxtest.obj modex16.obj test.obj: test.c modex16.h - wcl -0 -d2 -c test.c + wcl $(FLAGS) -c test.c + +test2.obj: test2.c modex16.h + wcl $(FLAGS) -c test2.c + +pcxtest.obj: pcxtest.c modex16.h + wcl $(FLAGS) -c pcxtest.c modex16.obj: modex16.h modex16.c - wcl -0 -d2 -c modex16.c + wcl $(FLAGS) -c modex16.c + +clean: + del *.obj + del *.exe