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

📄 makefile

📁 无线传感器网络操作系统源代码
💻
字号:
# Micro In-System Programmer Makefile
# Uros Platise (c) 1999
#
# Check directories and then
#  - to compile type: make
#  - to install type: make install
#  - to run type: uisp
#
# Now tested with g++ 2.95.2, older versions may not work.

# Directory Setup
        UISP_BIN = /usr/local/bin

# The following lines declare compile options.
# Add switch:
#
#   -DNO_DAPA
#
# to remove "Direct AVR Parallel Access" support completely (should not
# be necessary anymore, see the next option).
#
#   -DNO_DIRECT_IO
#
# to remove direct I/O port access for non-PC machines where it doesn't work
# (parallel port support should still work with the Linux ppdev driver).

CXX = g++
CPPFLAGS = -Wall -O3 -g # -DNO_DIRECT_IO # -DNO_DAPA

SRC	= Main.C Terminal.C MotIntl.C Avr.C AvrAtmel.C AvrDummy.C \
	  Serial.C DAPA.C Stk500.C cygwinp.c

OBJ	= Main.o Terminal.o MotIntl.o Avr.o AvrAtmel.o AvrDummy.o \
	  Serial.o DAPA.o Stk500.o cygwinp.o

all:	uisp

uisp:	$(OBJ)
	$(CXX) -o $@ $(OBJ) $(LIBS)

clean:
	rm -f *.o *~
	rm -f uisp

install: uisp
	cp uisp $(UISP_BIN)

⌨️ 快捷键说明

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