Rename to the vsys convention.
[vsys-scripts.git] / Makefile
1 CC=gcc
2 CFLAGS=-g -O2
3
4 all: dcookie fd_bmsocket fd_udpsocket fd_fusemount fd_tuntap
5
6 fd_tuntap: fd_tuntap.c
7         gcc fd_tuntap.c -o exec/fd_tuntap
8
9 dcookie: dcookie.c
10         gcc dcookie.c -o exec/dcookie
11
12 fdpass.o: fdpass.c
13         gcc -c fdpass.c -o fdpass.o
14
15 fd_bmsocket: fd_bmsocket.c fdpass.o
16         gcc fd_bmsocket.c fdpass.o -o exec/fd_bmsocket
17
18 fd_udpsocket: fd_udpsocket.c fdpass.o
19         gcc fd_udpsocket.c fdpass.o -o exec/fd_udpsocket
20
21 fd_fusemount: fd_fusemount.c fdpass.o
22         gcc fd_fusemount.c fdpass.o -o exec/fd_fusemount
23
24 clean: 
25         rm -f exec/*