📄 makefile
字号:
#----------------------------------------------------------------------# Makefile for SVGAlib utilities.## This file is a part of SVGAlib.#----------------------------------------------------------------------include ../Makefile.cfgsrcdir = ..VPATH = $(srcdir)/utils#----------------------------------------------------------------------# Compiler Section (overrides Makefile.cfg)#----------------------------------------------------------------------CFLAGS = $(WARN) $(OPTIMIZE) -I../include#Use the next one for the Alpha/AXP if you need it#LDFLAGS = -L../staticlib LDFLAGS = -L${libdir}LIBS = -lvga -lm#----------------------------------------------------------------------# Rules Section#----------------------------------------------------------------------UTILPROGS = restorefont convfont restoretextmode restorepalette dumpreg \ fix132x43 setmclk gtfcalcOBJECTS = restorefont.o convfont.o restoretextmode.o restorepalette.o \ dumpreg.o fix132x43.o setmclk.o.c.o: $(CC) $(CFLAGS) -c -o $*.o $<.o: $(CC) $(CFLAGS) $(LDFLAGS) -o $* $*.o $(LIBS) chmod 4755 $*all: $(UTILPROGS).PHONY: all clean cleanbin dep$(OBJECTS): .dependconvfont: convfont.o $(CC) $(CFLAGS) $(LDFLAGS) -o convfont convfont.o $(LIBS)gtfcalc: gtf/gtfcalc.c $(CC) $(CFLAGS) $(LDFLAGS) -o gtfcalc -DTESTING_GTF gtf/gtfcalc.c $(LIBS)clean: rm -f $(UTILPROGS) *.o *~ UVCONFIG.CRTdep: rm -f .depend make .dependinstall: $(INSTALLPROG) $(UTILPROGS) $(UTILINSTALLDIR).depend: gcc -MM $(patsubst %.o,$(srcdir)/utils/%.c,$(OBJECTS)) >.depend## include a dependency file if one exists#ifeq (.depend.src,$(wildcard .depend.src))include .depend.srcendif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -