makefile

来自「tinyos最新版」· 代码 · 共 23 行

TXT
23
字号
# Comment/uncomment the following line to enable/disable debugging
#DEBUG = y

# This Makefile has been simplified as much as possible, by putting all
# generic material, independent of this specific directory, into
# ../Rules.make. Read that file for details

KERNELDIR = /home/pbuonado/Projects/stargate-linux/linux-2.4.19-star5

CFLAGS = -v -O2
CFLAGS += -I. -I$(KERNELDIR)/include
CFLAGS += -DEXPORT_SYMTAB

CC=arm-linux-gcc

all: stargate_ssp.o

stargate_ssp.o: stargate_ssp.c
	$(CC) $(CFLAGS) -c $< -o $@

clean:
	rm -f *.o *~ core

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?