]> rtime.felk.cvut.cz Git - lincan.git/blob - lincan/utils/Makefile
1912466555478ad781fab40829c46d0c69cfd21a
[lincan.git] / lincan / utils / Makefile
1 # Makefile for the Linux CAN-bus driver.
2 # Written by Arnaud Westenberg email:arnaud@wanadoo.nl
3 # This software is released under the GPL-License.
4 # Version 0.7  6 Aug 2001
5 #
6 # Changes made by Pavel Pisa pisa@cmp.felk.cvut.cz as preliminary
7 # study for OCERA Real Time CAN/CANOpen project ORTCAN
8 #
9 ########## The following options can be changed ##########
10
11 # Compiler
12 ifndef CC
13 CC = gcc
14 endif
15
16 CFLAGS = -I../include -O2 -Wall
17
18 all: default
19
20 .PHONY: dep default subdirs clean cleandepend
21 .PHONY: check-dir include-pass library-pass binary-pass utils-pass kernel-pass
22
23 default: utils
24
25 utils-pass: utils
26
27 dep:
28         $(CC) $(CFLAGS) $(CPPFLAGS) -w -E -M *.c $(MORE_C_FILES) > .depend
29
30 install:
31         echo Nothing to install
32
33 utils: rxtx sendburst readburst send can-proxy
34
35 rxtx: rxtx.o
36
37 sendburst: sendburst.o
38
39 readburst: readburst.o
40
41 send: send.o
42
43 clean :
44         rm -f rxtx sendburst readburst send can-proxy *.o .depend
45
46 distclean : clean
47
48 -include .depend
49