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

📄 makefile

📁 MEGA8做的USB下载线avrusb-20081126
💻
字号:
# Name: Makefile# Project: custom-class example# Author: Christian Starkjohann# Creation Date: 2008-04-06# Tabsize: 4# Copyright: (c) 2008 by OBJECTIVE DEVELOPMENT Software GmbH# License: GNU GPL v2 (see License.txt), GNU GPL v3 or proprietary (CommercialLicense.txt)# This Revision: $Id: Makefile 692 2008-11-07 15:07:40Z cs $# Concigure the following definitions according to your system.# This Makefile has been tested on Mac OS X, Linux and Windows.# Use the following 3 lines on Unix (uncomment the framework on Mac OS X):USBFLAGS = `libusb-config --cflags`USBLIBS = `libusb-config --libs`EXE_SUFFIX =# Use the following 3 lines on Windows and comment out the 3 above. You may# have to change the include paths to where you installed libusb-win32#USBFLAGS = -I/usr/local/include#USBLIBS = -L/usr/local/lib -lusb#EXE_SUFFIX = .exeNAME = set-ledOBJECTS = opendevice.o $(NAME).oCC		= gccCFLAGS	= $(CPPFLAGS) $(USBFLAGS) -O -g -WallLIBS	= $(USBLIBS)PROGRAM = $(NAME)$(EXE_SUFFIX)all: $(PROGRAM).c.o:	$(CC) $(CFLAGS) -c $<$(PROGRAM): $(OBJECTS)	$(CC) -o $(PROGRAM) $(OBJECTS) $(LIBS)strip: $(PROGRAM)	strip $(PROGRAM)clean:	rm -f *.o $(PROGRAM)

⌨️ 快捷键说明

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