⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pc.rules

📁 tinyos最新版
💻 RULES
字号:
#-*-Makefile-*- vim:syntax=make#$Id: pc.rules,v 1.1 2004/07/20 05:53:41 scipio Exp $define PC_HELP TOSSIM extras:   fast     : compile with no dbg and maximum performance endefHELP += $(AVR_HELP)NCC = nccLIBS = -lmBUILDDIR = build/$(PLATFORM)MAIN_EXE = $(BUILDDIR)/main.exePFLAGS += -Wall -Wshadow -DDEF_TOS_AM_GROUP=$(DEFAULT_LOCAL_GROUP) $(NESC_FLAGS)PFLAGS += -target=$(PLATFORM) -fnesc-cfile=$(BUILDDIR)/app.c -board=$(SENSORBOARD)ifdef MSG_SIZEPFLAGS += -DTOSH_DATA_LENGTH=$(MSG_SIZE)endififndef DEFAULT_PROGRAMDEFAULT_PROGRAM = dapaendif# Use the 'if' function instead of the 'ifdef' construct because ifdef freaks# out with call in there.  I don't know why.$(if $(PROGRAM),,$(call TOSMake_include,avr/$(DEFAULT_PROGRAM).extra))exe: exe0 FORCE	@:exe0: builddir $(BUILD_EXTRA_DEPS) FORCE	@echo "    compiling $(COMPONENT) to a $(PLATFORM) binary"	$(NCC) -o $(MAIN_EXE) $(OPTFLAGS) $(PFLAGS) $(CFLAGS) $(COMPONENT).nc $(LIBS) $(LDFLAGS)	@echo "    compiled $(COMPONENT) to $(MAIN_EXE)"builddir: FORCE	mkdir -p $(BUILDDIR)

⌨️ 快捷键说明

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