X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=makefile;h=a6a4be18d75a83fd1dae09b88885d087780769af;hb=5c38df4df8b049c04dc4e2c60db62bcb5827f925;hp=b11f89a095dbf729c1e33080ac1993fd5a088acc;hpb=d910ad2fc48491c391e1984e74616e50d28d95d7;p=16.git diff --git a/makefile b/makefile index b11f89a0..a6a4be18 100644 --- a/makefile +++ b/makefile @@ -1,10 +1,12 @@ -FLAGS=-0 +FLAGS=-0 -d2 +SRC=src\ +SRCLIB=$(SRC)lib\ all: test.exe pcxtest.exe test2.exe scroll.exe scroll.exe: scroll.obj modex16.obj dos_kb.obj bitmap.obj wcl $(FLAGS) scroll.obj modex16.obj dos_kb.obj bitmap.obj -scroll.obj: scroll.c - wcl $(FLAGS) -c scroll.c +scroll.obj: $(SRC)scroll.c + wcl $(FLAGS) -c $(SRC)scroll.c test.exe: test.obj modex16.obj bitmap.obj wcl $(FLAGS) test.obj modex16.obj bitmap.obj @@ -14,24 +16,24 @@ test2.exe: test2.obj modex16.obj bitmap.obj pcxtest.exe: pcxtest.obj modex16.obj bitmap.obj wcl $(FLAGS) pcxtest.obj modex16.obj bitmap.obj -test.obj: test.c modex16.h - wcl $(FLAGS) -c test.c +test.obj: $(SRC)test.c $(SRCLIB)modex16.h + wcl $(FLAGS) -c $(SRC)test.c -test2.obj: test2.c modex16.h - wcl $(FLAGS) -c test2.c +test2.obj: $(SRC)test2.c $(SRCLIB)modex16.h + wcl $(FLAGS) -c $(SRC)test2.c -pcxtest.obj: pcxtest.c modex16.h - wcl $(FLAGS) -c pcxtest.c +pcxtest.obj: $(SRC)pcxtest.c $(SRCLIB)modex16.h + wcl $(FLAGS) -c $(SRC)pcxtest.c -modex16.obj: modex16.h modex16.c - wcl $(FLAGS) -c modex16.c +modex16.obj: $(SRCLIB)modex16.h $(SRCLIB)modex16.c + wcl $(FLAGS) -c $(SRCLIB)modex16.c -dos_kb.obj: dos_kb.h dos_kb.c - wcl $(FLAGS) -c dos_kb.c +dos_kb.obj: $(SRCLIB)dos_kb.h $(SRCLIB)dos_kb.c + wcl $(FLAGS) -c $(SRCLIB)dos_kb.c -bitmap.obj: bitmap.h bitmap.c - wcl $(FLAGS) -c bitmap.c +bitmap.obj: $(SRCLIB)bitmap.h $(SRCLIB)bitmap.c + wcl $(FLAGS) -c $(SRCLIB)bitmap.c clean: del *.obj - del *.exe +# del *.exe