| Line 1... |
Line 1... |
| 1 |
# Supported targets: |
1 |
# Supported targets: |
| 2 |
# atmega8 atmega88 attiny45 (attiny45 is not usable in a board AVRUSB01A, it has different package) |
2 |
# atmega8 atmega88 attiny45 (attiny45 is not usable in a board AVRUSB01A, it has different package) |
| - |
|
3 |
# |
| - |
|
4 |
# If compiled on Linux do this |
| - |
|
5 |
# chmod +x checksize |
| 3 |
|
6 |
|
| 4 |
ALL_TARGETS=atmega8 atmega88 attiny45 |
7 |
ALL_TARGETS=atmega8 atmega88 attiny45 |
| 5 |
|
8 |
|
| 6 |
# Execute these steps for each target CPU |
9 |
# Execute these steps for each target CPU |
| 7 |
# Do not remove empty line in this definition! |
10 |
# Do not remove empty line in this definition! |
| Line 19... |
Line 22... |
| 19 |
cp main.hex i2c_tiny_usb_usbtiny_$(1).hex |
22 |
cp main.hex i2c_tiny_usb_usbtiny_$(1).hex |
| 20 |
make -f Makefile-usbtiny.$(1) clobber |
23 |
make -f Makefile-usbtiny.$(1) clobber |
| 21 |
|
24 |
|
| 22 |
endef |
25 |
endef |
| 23 |
|
26 |
|
| 24 |
ALL: |
27 |
all: |
| 25 |
@$(foreach III,$(ALL_TARGETS),$(call EXEC,$(III))) |
28 |
@$(foreach III,$(ALL_TARGETS),$(call EXEC,$(III))) |