makefile
来自「sparc硬件平台上的红外协议」· 代码 · 共 52 行
TXT
52 行
# Makefile for IRDA testifeq ($(CROSS),y) GCC=sparc-elf-gccCFLAGS=-O2 -Wall -Wstrict-prototypes -msoft-float -mv8 $(DEBUG) AR=sparc-elf-arCC=sparc-elf-gccelseifeq ($(PURIFY),y)GCC=purify gccCC=purify gccCFLAGS=-O2 -Wall -Wstrict-prototypes $(DEBUG) -DTEST_IRDAelseGCC=gcccc=gccCFLAGS=-O2 -Wall -Wstrict-prototypes $(DEBUG) -DTEST_IRDAendifAR=arendifLIB_DIR= ../../../lib#DEBUG=-gMAKE=makeRM=rm CP=cpTARGET = libd_irda_obex.a#CFLAGS += -Wall -g $(EXTRA_COMPILE_FLAGS)#CFLAGS+= -fstack-check -O0#CFLAGS+= -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations#CFLAGS+= -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winlineall: $(TARGET)IRDA_SOURCES = databuffer.c ircp.c ircp_client.c ircp_io.c ircp_server.c irobex.c \ obex.c obex_client.c obex_connect.c obex_header.c obex_main.c obex_object.c \ obex_server.c obex_transport.c #IRDA_HEADERS = #OBJS = $(IRDA_SOURCES:.c=.o) test_irda.o OBJS = $(IRDA_SOURCES:.c=.o)ifeq ($(CROSS), y)$(TARGET): $(OBJS) $(AR) r $(TARGET) $(OBJS)else$(TARGET): $(OBJS) $(AR) r $(TARGET) $(OBJS)endifclean: $(RM) -f $(ALLOBJS) core *.o *.a
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?