diff --git a/Makefile b/Makefile index ea700fd..5b3c5d5 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,11 @@ - - all: ledcontroller ledcontroller: main.c gcc -o $@ $^ `pkg-config libusb-1.0 --cflags --libs` +docs: + doxygen + clean: - rm ledcontroller + rm -f ledcontroller + rm -rf docs diff --git a/README.md b/README.md index c86ead8..14e8789 100644 --- a/README.md +++ b/README.md @@ -7,12 +7,10 @@ A Linux command line utility to control usb mail notifiers identified as: Bus 001 Device 010: ID 1294:1320 RISO KAGAKU CORP. -Inside the scripts folder you will find some simple bash scripts you can use to control the notifier. -For example the script `mled-cputemp` will make it respond to your CPU's temperature. - ### Get and compile: ### $ git clone https://github.com/andmarios/ledcontroller-3bit.git + $ sudo apt-get install libusb-1.0-0-dev build-essential pkg-config $ cd ledcontroller-3bit/ $ make @@ -33,7 +31,7 @@ For example the script `mled-cputemp` will make it respond to your CPU's tempera ## Requisites: ## -+ libusb:1 or libusb-1.0-dev, depending on your distribution ++ libusb:1, libusb-1.0-dev or libusb-1.0-0-dev, depending on your distribution + a system which can compile binaries (package build-essentials for Debian based distributions) ## Hardware ## @@ -42,7 +40,6 @@ I think [this is my notifier](http://www.andmarios.com/links/mail-usb-notifier) --- - ## Copyright ## This code (files `main.c` and `Makefile`) is a fork of the ledcontroller code by jmrobles ().