forked from coseyfannitutti/USBaspLoader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
46 lines (37 loc) · 844 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Name: Makefile
# Project: USBaspLoader (updater)
# Author: Stephan Bärwolf
# Creation Date: 2012-09-01
# Tabsize: 4
# License: GNU GPL v2 (see License.txt)
include Makefile.inc
all: do_firmware do_updater
flash: firmware
$(MAKE) -C firmware flash
fuse: firmware
$(MAKE) -C firmware fuse
lock: firmware
$(MAKE) -C firmware lock
update: updater
$(MAKE) -C updater flash
firmware: do_firmware
updater: do_updater
do_firmware:
$(ECHO) "."
$(ECHO) "."
$(ECHO) "======>BUILDING BOOTLOADER FIRMWARE"
$(ECHO) "."
$(MAKE) -C firmware all
do_updater: firmware
$(ECHO) "."
$(ECHO) "."
$(ECHO) "======>BUILDING BOOTLOADER UPDATER (EXPERIMENTAL)"
$(ECHO) "."
$(MAKE) -C updater all
deepclean: clean
$(RM) *~
$(MAKE) -C updater deepclean
$(MAKE) -C firmware deepclean
clean:
$(MAKE) -C updater clean
$(MAKE) -C firmware clean