Makefile: add all target to compile and download.
This commit is contained in:
parent
4d0f5b8b15
commit
307d729efa
@ -37,6 +37,9 @@ help:
|
|||||||
@echo " ISP=${ISP}"
|
@echo " ISP=${ISP}"
|
||||||
@echo " PORT=${PORT}"
|
@echo " PORT=${PORT}"
|
||||||
|
|
||||||
|
all: main.hex
|
||||||
|
make flash
|
||||||
|
|
||||||
COMPILE = avr-gcc -Wall -O2 -Iusbdrv -I. -mmcu=$(TARGET) # -DDEBUG_LEVEL=2
|
COMPILE = avr-gcc -Wall -O2 -Iusbdrv -I. -mmcu=$(TARGET) # -DDEBUG_LEVEL=2
|
||||||
|
|
||||||
OBJECTS = usbdrv/usbdrv.o usbdrv/usbdrvasm.o usbdrv/oddebug.o isp.o clock.o tpi.o main.o
|
OBJECTS = usbdrv/usbdrv.o usbdrv/usbdrvasm.o usbdrv/oddebug.o isp.o clock.o tpi.o main.o
|
||||||
|
Loading…
Reference in New Issue
Block a user