]> rtime.felk.cvut.cz Git - lincan.git/blob - lincan/utils/Makefile
a05c3428eb12c4eebb65f3914e8311d5fe88d491
[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 default: utils
21
22 dep:
23         $(CC) $(CFLAGS) $(CPPFLAGS) -w -E -M *.c $(MORE_C_FILES) > .depend
24
25 install:
26         echo Nothing to install
27
28 utils: rxtx sendburst readburst send can-proxy
29
30 rxtx: rxtx.o
31
32 sendburst: sendburst.o
33
34 readburst: readburst.o
35
36 send: send.o
37
38 clean :
39         rm -f rxtx sendburst readburst send can-proxy *.o .depend
40
41 distclean : clean
42
43 -include .depend
44