]> rtime.felk.cvut.cz Git - linux-lin.git/blob - misc/tty_lin_master/Makefile
Userspace LIN master: Provide state encapsulation to test kernel code.
[linux-lin.git] / misc / tty_lin_master / Makefile
1 all: default
2
3 CC = gcc
4 CFLAGS = -std=gnu99 -Wall -pedantic -ggdb
5 LDFLAGS = -lrt -ggdb
6
7 .PHONY: default dep
8
9 default: main
10
11 main : main.o lin_common.o
12
13 dep:
14         $(CC) $(CFLAGS) $(CPPFLAGS) -w -E -M *.c $(MORE_C_FILES) > depend
15
16 depend:
17         @touch depend
18
19 clean :
20         rm -f *.o *~ depend
21
22 -include depend
23