📄 makefile
字号:
#----------------------------------------------------------------------# Makefile for SVGAlib GL routines.#----------------------------------------------------------------------# *** NO SERVICIBLE PARTS HERE!# All options are in Makefile.cfg.include ../Makefile.cfgsrcdir = ..VPATH = $(srcdir)/glifeq (a.out, $(TARGET_FORMAT)) DEFINES += -DSVGA_AOUTendififeq (y, $(NO_ASM)) DEFINES += -DNO_ASSEMBLYendif#----------------------------------------------------------------------# Rules Section#----------------------------------------------------------------------MODULES = grlib.o driver.o line.o palette.o scale.o text.o \ font8x8.o font8x12.o font8x16.o font16x16.o \ cbitmap.o mem.o all: libvgagl.a.PHONY: all clean deplibvgagl.so.$(VERSION): $(MODULES) $(CC) -s -shared -Wl,-soname,libvgagl.so.$(MAJOR_VER) -o libvgagl.so.$(VERSION) \ $(MODULES)libvgagl.a: $(MODULES) rm -f libvgagl.a $(AR) rcs libvgagl.a $(MODULES).c.o: $(CC) $(CFLAGS) -c -o $*.o $<.S.s: $(CC) $(CFLAGS) -E $< >$@.s.o: $(CC) $(CFLAGS) -c -o $*.o $<.c.s: $(CC) $(CFLAGS) -S -o $*.s $<.o: $(CC) $(CFLAGS) $(LDFLAGS) -o $* $*.o $(LIBS) chmod 4755 $*$(MODULES): .depend.gldep: rm -f .depend.gl make depend.depend.gl: echo '# GL Module dependencies' >>.depend.gl $(CC) $(INCLUDES) -MM $(patsubst %.o,$(srcdir)/gl/%.c,$(MODULES)) >>.depend.glclean: rm -f .depend.gl *.bak *.o *~ libvgagl.a libvgagl.so.$(VERSION)## include a dependency file if one exists#ifeq (.depend.gl,$(wildcard .depend.gl))include .depend.glendif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -