]> cloudbase.mooo.com Git - avrcpm.git/blobdiff - Makefile
Merged branch modules back into trunk.
[avrcpm.git] / Makefile
index cc3eaf11fb8e441a34f2cfbfd0b13fccf13334b1..9fa980f85d6e41ea88ec156ad5d14d68d0899703 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,17 +4,18 @@
 
 #MCU = atmega8
 MCU = atmega328P
-#F_CPU = 24576000
 F_CPU = 20000000
 #BAUD = 19200
 BAUD = 57600
 #BAUD = 115200
 
-TARGET = z80
-ASRC = z80.asm
+DRAM_8BIT = 1
+
+TARGET = avrcpm
+ASRC = avrcpm.asm
 
 # Place -D or -U options here
-CDEFS = -DF_CPU=$(F_CPU) -DBAUD=$(BAUD) -D$(MCU)
+CDEFS = -DF_CPU=$(F_CPU) -DBAUD=$(BAUD) -D$(MCU) -DDRAM_8BIT=$(DRAM_8BIT)
 
 WINEPATH = C:/Programme/Atmel/AVR\ Tools/AvrAssembler2
 DEFS = $(WINEPATH)/Appnotes