3 MFLAGS = -mds390 --model-flat24 --stack-10bit
4 LFLAGS = --xram-loc 0x100080 --code-loc 0x10000 -Wl-r
9 rm -f *~ \#* *.asm *.cdb *.rel *.hex *.ihx *.lst *.map *.rst *.sym *.lnk
11 OBJECTS = i2c390.rel i2clole.rel ds1621.rel pcf8591.rel
13 i2c390.hex: i2c390.ihx
14 packihx i2c390.ihx >i2c390.hex
16 i2c390.ihx: $(OBJECTS)
17 $(CC) $(MFLAGS) $(LFLAGS) $(OBJECTS)