summaryrefslogtreecommitdiffstats
path: root/god/claws/Makefile
blob: 5c9bb8e1af098438afbba44251b524b2f3fde3b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Makefile for the rcontrol program
# We set a setuid bit as this tools needs root privilleges to open the FT232 device.

BINARY=./rcontrol

install: all
	ln -snf $$PWD/$(BINARY) ../../bin/

all:$(BINARY)
	chown root.root $(BINARY)
	chmod +s $(BINARY)

$(BINARY): rcontrol.c
	#punani install libftdi1 libftdi-dev
	gcc -Wall -lusb -lftdi rcontrol.c -o $(BINARY)

clean:
	rm -f $(BINARY)