Makefile: add all target to compile and download.

This commit is contained in:
Stefan Beller 2012-05-20 12:49:56 +02:00
parent 4d0f5b8b15
commit 307d729efa

View File

@ -37,6 +37,9 @@ help:
@echo " ISP=${ISP}"
@echo " PORT=${PORT}"
all: main.hex
make flash
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