Introduce old redir program
[lcapit-junk-code.git] / bluetooth / Makefile
blob8afe5895d821958189cf88dd70c3ba078a7cd2f7
1 # Makefile for Bluetooth test programs
3 OBJS= simplescan rfcomm-server rfcomm-client sdp-search
4 CC=gcc
5 CFLAGS= -Wall -W -Wmissing-declarations -Wmissing-prototypes -g -O0 \
6 -Wredundant-decls -Wshadow -Wbad-function-cast -Wcast-qual
7 LDFLAGS= -lbluetooth
9 all : $(OBJS)
11 simplescan : simplescan.c
12 $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
14 rfcomm-server : rfcomm-server.c
15 $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
17 rfcomm-client : rfcomm-client.c
18 $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
20 sdp-search : sdp-search.c
21 $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
23 .PHONY : clean
25 clean :
26 rm -f *~
27 rm -f $(OBJS)