Skript file: /~heha/basteln/Haus/Telefon/Mithören-ISDN/Firmware.zip/hunz@mikrocontroller.net/Makefile

# hunz@mikrocontroller.net
P = avr_isdn
D = atmega8
F = 16000000

all: $P.elf $P.lst

%.elf: *.S
	avr-gcc -mmcu=$D -DF_CPU=$F -Os -nostartfiles -o $@ $(filter %.S,$^)
	avr-size $@

%.lst: %.elf
	avr-objdump -dt $< > $@
	avr-strip $<

flash: $P.elf
	avrpp $<

program: $P.elf
	avrpp -ff $<
Detected encoding: ASCII (7 bit)2