?? makefile
字號:
# Altera jblaster # Linux Version 1.1L ## As far as Altera does not claim any rights, i would like# this code to be distributed in terms of the GPL## (c) Altera Corporation # (c) GPL 2002 Robin Gareus <robin@gareus.org## $Id: Makefile,v 1.1.1.1 2002/12/03 23:49:15 x42 Exp $### Configuration# # choose Operating system:OS="LINUX"# good, you choose Linux, you now can decide how jblaster accesses the # parallel port Byteblaster cable. # a) use the /dev/parport (recommended, needes kernel parport support) # b) direct port-io. (requires root privilegies)# so it's safe to choose (a) and say 'y' here.PARPORT=n## make install will install the binary to the following location#INSTALLDIR = /usr/local/bin## set internal Make variables. and compiler flags,...#CFLAGS += -g -Wall -O2# Add the Compiler FLagsifeq ($(OS),"LINUX") CFLAGS += -D_LINUX_ ifeq ($(PARPORT),y) CFLAGS += -DLINUX_PARPORT endifendif## build description.#all: jblaster .PHONY: cleanclean: -rm -f jblaster *.o jblaster: jblaster.c jb_io.o jb_jtag.o .PHONY: installinstall: install -d $(INSTALLDIR) install -s -m 755 jblaster $(INSTALLDIR)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -