diff options
author | makefu <github@syntax-fehler.de> | 2012-12-20 10:46:35 +0700 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2012-12-20 10:46:35 +0700 |
commit | 5c8e9386f879394f81aa24460de7a820563657dc (patch) | |
tree | 0a9340271adfea639e3782781f8c12691ea7f2c2 /god/claws/Makefile | |
parent | 384552a83d12b1f14e2d35f2267aabbf9240eac6 (diff) |
//claws -> //god/claws
claws provides interaction with the real world
Diffstat (limited to 'god/claws/Makefile')
-rw-r--r-- | god/claws/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/god/claws/Makefile b/god/claws/Makefile new file mode 100644 index 00000000..abfae5eb --- /dev/null +++ b/god/claws/Makefile @@ -0,0 +1,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) |