summaryrefslogtreecommitdiff
path: root/software/pic.include.mk
diff options
context:
space:
mode:
Diffstat (limited to 'software/pic.include.mk')
-rw-r--r--software/pic.include.mk16
1 files changed, 6 insertions, 10 deletions
diff --git a/software/pic.include.mk b/software/pic.include.mk
index eca4e05..5efadde 100644
--- a/software/pic.include.mk
+++ b/software/pic.include.mk
@@ -2,7 +2,7 @@
## spreadspace pic utils
##
##
-## Copyright (C) 2011 Christian Pointner <equinox@spreadspace.org>
+## Copyright (C) 2011-2013 Christian Pointner <equinox@spreadspace.org>
##
## This file is part of spreadspace pic utils.
##
@@ -44,17 +44,13 @@ distclean: clean
find . -name "*.\~*" -exec rm -rf {} \;
clean:
- rm -f *.hex
- rm -f *.cod
- rm -f *.lst
- rm -f *.d
+ rm -f $(PROJECT).hex
+ rm -f $(PROJECT).cod
+ rm -f $(PROJECT).lst
+ rm -f $(PROJECT).d
rm -f $(HEXFILE)
-program: $(HEXFILE)
- @$(PROG) --stop
- @$(PROG) -p $(PROC_TYPE) -e
- @$(PROG) -p $(PROC_TYPE) -s -w -f $(HEXFILE)
- @$(PROG) -p $(PROC_TYPE) -s -v -f $(HEXFILE)
+program: $(HEXFILE) stop erase write verify
write: $(HEXFILE)
@$(PROG) -p $(PROC_TYPE) -s -w -f $(HEXFILE)