don't use bashism in Makefile

This commit is contained in:
Pavol Rusnak 2011-04-02 02:44:27 +02:00
parent e9f2068226
commit 5fdb0f6179

View file

@ -17,7 +17,10 @@ obj/$(NAME).bin: obj/$(NAME).axf
checksum -v obj/$(NAME).bin checksum -v obj/$(NAME).bin
clean: clean:
rm -f obj/*.{axf,bin,map,o} rm -f obj/*.axf
rm -f obj/*.bin
rm -f obj/*.map
rm -f obj/*.o
deploy: deploy:
dfu-util -d 0471:df55 -c 0 -t 2048 -R -D /opt/LPCXpresso/bin/LPCXpressoWIN.enc || : dfu-util -d 0471:df55 -c 0 -t 2048 -R -D /opt/LPCXpresso/bin/LPCXpressoWIN.enc || :