📄 makefile
字号:
# Name: Makefile# Project: PowerSwitch# Author: Christian Starkjohann# Creation Date: 2005-01-16# Tabsize: 4# Copyright: (c) 2005 by OBJECTIVE DEVELOPMENT Software GmbH# License: Proprietary, free under certain conditions. See Documentation.# This Revision: $Id: Makefile 97 2006-01-26 18:38:51Z cs $# Concigure the following definitions according to your system. The powerSwitch# tool has been successfully compiled on Mac OS X, Linux and Windows.CC = gccLIBUSB_CONFIG = libusb-config# Make sure that libusb-config is in the search path or specify a full path.# On Windows, there is no libusb-config and you must configure the options# below manually. See examples.CFLAGS = `$(LIBUSB_CONFIG) --cflags` -O -Wall#CFLAGS = -I/usr/local/libusb/include# On Windows replace `$(LIBUSB_CONFIG) --cflags` with appropriate "-I..."# option to ensure that usb.h is foundLIBS = `$(LIBUSB_CONFIG) --libs`#LIBS = `$(LIBUSB_CONFIG) --libs` -framework CoreFoundation# You may need "-framework CoreFoundation" on Mac OS X and Darwin.#LIBS = -L/usr/local/libusb/lib/gcc -lusb# On Windows use somthing similar to the line above.all: powerSwitch.c.o: $(CC) $(CFLAGS) -c $<powerSwitch: powerSwitch.o $(CC) -o powerSwitch powerSwitch.o $(LIBS)clean: rm -f *.o rm -f powerSwitch powerSwitch.exe
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -