CC= tcc CCOPT= -O -G -Z -d -w -a -k- # # targets # all: vesainfo.com clean: del *.map del *.dmp del *.exe del *.s cleanall: clean del *.vdr del *.grd del *.grn del *.obj del *.com # # This is for debugging # .c.s: $(CC) -S $(CCOPT) $*.c copy $*.asm $*.s del $*.asm # # Rules: # .asm.obj: tasm /mx $*.asm vesainfo.com: vesainfo.c pieces/vesainfo.c tcc -mt $(CCOPT) -evesainfo vesainfo.c exe2bin vesainfo.exe vesainfo.com +del vesainfo.obj +del vesainfo.exe # # dependencies: # vdrhead.obj: grdriver.inc vesa11.vdr: vdrhead.obj vdr.h pieces/vesainfo.c paging/vesa.c pieces/textfont.c pieces/vdrmain.c vesadrv.exe: vdrtest.c