makefile
来自「MEGA8做的USB下载线avrusb-20081126」· 代码 · 共 43 行
TXT
43 行
# Name: Makefile# Project: hid-data example# Author: Christian Starkjohann# Creation Date: 2008-04-11# 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 $# Please read the definitions below and edit them as appropriate for your# system:# Use the following 3 lines on Unix and 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:#USBFLAGS=#USBLIBS= -lhid -lusb -lsetupapi#EXE_SUFFIX= .exeCC= gccCFLAGS= -O -Wall $(USBFLAGS)LIBS= $(USBLIBS)OBJ= hidtool.o hiddata.oPROGRAM= hidtool$(EXE_SUFFIX)all: $(PROGRAM)$(PROGRAM): $(OBJ) $(CC) -o $(PROGRAM) $(OBJ) $(LIBS)strip: $(PROGRAM) strip $(PROGRAM)clean: rm -f $(OBJ) $(PROGRAM).c.o: $(CC) $(ARCH_COMPILE) $(CFLAGS) -c $*.c -o $*.o
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?