📄 maketemp.tmp
字号:
CC=mipsel-linux-gccLD=mipsel-linux-ldSTRIP=mipsel-linux-stripAPPNAME=demoifeq ($(CFG), DEBUG)TARGET_PATH=debugOBJS=$(TARGET_PATH)/demo.o RESOBJS=$(TARGET_PATH)/demo.res.o RESC=$(patsubst %.o,%.c,$(RESOBJS))all: $(TARGET_PATH)/$(APPNAME)$(TARGET_PATH)/$(APPNAME): $(OBJS) $(RESOBJS) @echo link... @$(CC) -g -G0 $(OBJS) $(O_OBJS) $(RESOBJS) \ -L '/usr/gp1288/mwin/lib' -L '/usr/gp1288/mwin/pda/lib' \ -lmwdrivers -lmwengine -lmwfonts -lmwin -lmwinlib -lsysmips -lsysdlgmips -ldbmips -laboutmips -lhelpmips -lbmpmips -lcatmips -lmpaintmips -lvCrdCaldmips -lc -lm \ -o $@ @echo link complete.$(TARGET_PATH)/demo.res.o: demo.rc @echo compiling $<... @rc -I'/usr/gp1288/mipsel-linux/include' -I'/usr/gp1288/mwin/include' -I'/usr/gp1288/mwin/pda/include' $< -o $(patsubst %.o,%.c,$@) @$(CC) -fPIC -msoft-float -I'/usr/gp1288/mipsel-linux/include' -I'/usr/gp1288/mwin/include' -I'/usr/gp1288/mwin/pda/include' -g -DDEBUG -DGVPDA=1 -c $(patsubst %.o,%.c,$@) -o $@$(TARGET_PATH)/demo.o: demo.c @echo compiling $<... @$(CC) -fPIC -msoft-float -I'/usr/gp1288/mipsel-linux/include' -I'/usr/gp1288/mwin/include' -I'/usr/gp1288/mwin/pda/include' -g -DDEBUG -DGVPDA=1 -c $< -o $@clean: -rm -f $(TARGET_PATH)/$(APPNAME) -rm -f $(OBJS) -rm -f $(RESC) -rm -f $(RESOBJS)endififeq ($(CFG), RELEASE)TARGET_PATH=releaseOBJS=$(TARGET_PATH)/demo.o RESOBJS=$(TARGET_PATH)/demo.res.o RESC=$(patsubst %.o,%.c,$(RESOBJS))all: $(TARGET_PATH)/$(APPNAME)$(TARGET_PATH)/$(APPNAME): $(OBJS) $(RESOBJS) @echo link... @$(CC) -G0 $(OBJS) $(O_OBJS) $(RESOBJS) \ -L '/usr/gp1288/mwin/lib' -L '/usr/gp1288/mwin/pda/lib' \ -lmwdrivers -lmwengine -lmwfonts -lmwin -lmwinlib -lsysmips -lsysdlgmips -ldbmips -laboutmips -lhelpmips -lbmpmips -lcatmips -lmpaintmips -lvCrdCaldmips -lc -lm \ -o $@ @echo link complete.$(TARGET_PATH)/demo.res.o: demo.rc @echo compiling $<... @rc -I'/usr/gp1288/mipsel-linux/include' -I'/usr/gp1288/mwin/include' -I'/usr/gp1288/mwin/pda/include' $< -o $(patsubst %.o,%.c,$@) @$(CC) -fPIC -msoft-float -I'/usr/gp1288/mipsel-linux/include' -I'/usr/gp1288/mwin/include' -I'/usr/gp1288/mwin/pda/include' -O2 -DNDEBUG -DGVPDA=1 -c $(patsubst %.o,%.c,$@) -o $@$(TARGET_PATH)/demo.o: demo.c @echo compiling $<... @$(CC) -fPIC -msoft-float -I'/usr/gp1288/mipsel-linux/include' -I'/usr/gp1288/mwin/include' -I'/usr/gp1288/mwin/pda/include' -O2 -DNDEBUG -DGVPDA=1 -c $< -o $@clean: -rm -f $(TARGET_PATH)/$(APPNAME) -rm -f $(OBJS) -rm -f $(RESC) -rm -f $(RESOBJS)endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -