summaryrefslogtreecommitdiff
path: root/usb-i2c-sl018/Makefile
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2013-02-06 22:04:41 +0000
committerChristian Pointner <equinox@spreadspace.org>2013-02-06 22:04:41 +0000
commit191d820e72b24f41b2246135eabfcc47fdafb66f (patch)
tree38f58038e002aa0637e07b46be115751bd7f2c9b /usb-i2c-sl018/Makefile
parentpdf makefile target (diff)
added support for addition clean targets
git-svn-id: https://svn.spreadspace.org/avr/trunk@139 aa12f405-d877-488e-9caf-2d797e2a1cc7
Diffstat (limited to 'usb-i2c-sl018/Makefile')
-rw-r--r--usb-i2c-sl018/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/usb-i2c-sl018/Makefile b/usb-i2c-sl018/Makefile
index 4acf020..42ba1d7 100644
--- a/usb-i2c-sl018/Makefile
+++ b/usb-i2c-sl018/Makefile
@@ -42,13 +42,18 @@ LUFA_OPTS += -D USB_PRODUCT="L\"$(NAME)\""
LUFA_COMPONENTS := USB USBCLASS TWI SERIAL
+CLEAN_TARGETS += clean-pdf clean-update-keys
+
include ../include.mk
update-keys: update-keys.c
gcc -o $@ $<
-pdfclean:
- rm *.pdf
+clean-update-keys:
+ rm -f update-keys
pdf: statemachine.dot
dot -Tpdf statemachine.dot -o statemachine.pdf
+
+clean-pdf:
+ rm -f statemachine.pdf