AS = tasm LK = tlink LIB = tlib CC = tcc AFLAGS = /ml LFLAGS = /c TARGET = main OBJS = main.obj testfont.obj # ------------------------------------------------------------------ .c.obj: $(CC) $(CFLAGS) -o$*.obj -c $*.c .asm.obj: $(AS) $(AFLAGS) $*.asm,$*.obj; #------------- # ワンダーウィッチ実機 #CFLAGS = -1 -mc -O -Z -D -Ic:\wwitch\include #LINKFILE = linkfile.ww #all: $(TARGET).exe # exetobin $(TARGET).exe $(TARGET).bin # mkfent $(TARGET).cf #------------- # エミュレーション CFLAGS = -1 -mc -O -Z -D_WSSIM -Ic:\wwitch\include LINKFILE = linkfile.emu all: $(TARGET).exe #------------- # ------------------------------------------------------------------ clean: del *.obj $(TARGET).exe: $(OBJS) $(LINKFILE) tlink @$(LINKFILE) # ------------------------------------------------------------------ $(OBJS):