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

📄 makefile-standalone

📁 can4linux-3.5.3.gz can4 linux
💻
字号:
# Make some example applications using can4linux device driver# (c) 2003-2006 port GmbH oe@port.de## This can be used building stand alone applications on a PC Linux# for Crosscompiling set CC when calling make# e.g. for MPLs VCMA9 say:# make CC=/opt/toolchains/bin/arm-linux-gcc-3.3.2#CC=powerpc-linux-gccCC=m68k-elf-gccCC=gccCFLAGS = -Wall -I../can4linux -DUSE_RT_SCHEDULINGCTAGS =	ctags --c-types=dtvfCTAGS =	elvtags -tsevlall: ctest baud can_send acceptance noiser receive transmit \	can_verify receive-select transmit-select \	transmitblock# simple applications, using the simple build-in make rulectest:			ctest.ocan_send:		can_send.ocan_verify:		can_verify.obaud:			baud.oacceptance:		acceptance.onoiser:			noiser.oreceive:		receive.oreceive-select:		receive-select.otransmit-select:	transmit-select.otransmit:		transmit.otransmitblock:		transmitblock.otransmit2:		transmit2.otransmit3:		transmit3.octags:	$(CTAGS) can_send.c ../src/can4linux.h# create a shared object file for TCL# (tested with SWIG1.1-883, must be installed)# Test with canLtwo.tclcanLtwo.so:	canLtwo.c canLtwo.i ../src/can4linux.h	swig -tcl canLtwo.i	$(CC) $(CFLAGS) -c -fpic -I/usr/local/include \	    canLtwo.c canLtwo_wrap.c	$(CC) -shared canLtwo.o canLtwo_wrap.o -o $@clean:	-rm *.o *.gdb \		ctest acceptance baud can_verify \		transmit transmit2 transmit3 \		transmit-select \		can_send \		receive \		receive-select \		noiser \		#canLtwo.so

⌨️ 快捷键说明

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