mirror of
https://github.com/raphnet/gc_n64_usb-v3
synced 2024-12-21 23:08:53 -05:00
Update makefiles for version string
This commit is contained in:
parent
9b17716b20
commit
847a7c84e1
6
Makefile
6
Makefile
@ -2,15 +2,15 @@ CC=avr-gcc
|
|||||||
AS=$(CC)
|
AS=$(CC)
|
||||||
LD=$(CC)
|
LD=$(CC)
|
||||||
|
|
||||||
|
include Makefile.inc
|
||||||
|
|
||||||
PROGNAME=n64
|
PROGNAME=n64
|
||||||
OBJDIR=objs-$(PROGNAME)
|
OBJDIR=objs-$(PROGNAME)
|
||||||
CPU=atmega32u2
|
CPU=atmega32u2
|
||||||
CFLAGS=-Wall -mmcu=$(CPU) -DF_CPU=16000000L -Os -DUART1_STDOUT
|
CFLAGS=-Wall -mmcu=$(CPU) -DF_CPU=16000000L -Os -DUART1_STDOUT -DVERSIONSTR=$(VERSIONSTR)
|
||||||
LDFLAGS=-mmcu=$(CPU) -Wl,-Map=$(PROGNAME).map
|
LDFLAGS=-mmcu=$(CPU) -Wl,-Map=$(PROGNAME).map
|
||||||
HEXFILE=$(PROGNAME).hex
|
HEXFILE=$(PROGNAME).hex
|
||||||
|
|
||||||
include Makefile.inc
|
|
||||||
|
|
||||||
all: $(HEXFILE)
|
all: $(HEXFILE)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
@ -1 +1,2 @@
|
|||||||
OBJS=main.o usb.o usbpad.o mappings.o gcn64_protocol.o n64.o gamecube.o usart1.o bootloader.o eeprom.o config.o hiddata.o usbstrings.o intervaltimer.o
|
OBJS=main.o usb.o usbpad.o mappings.o gcn64_protocol.o n64.o gamecube.o usart1.o bootloader.o eeprom.o config.o hiddata.o usbstrings.o intervaltimer.o version.o
|
||||||
|
VERSIONSTR=\"3.0.0\"
|
||||||
|
@ -2,14 +2,15 @@ CC=avr-gcc
|
|||||||
AS=$(CC)
|
AS=$(CC)
|
||||||
LD=$(CC)
|
LD=$(CC)
|
||||||
|
|
||||||
|
include Makefile.inc
|
||||||
|
|
||||||
PROGNAME=n64
|
PROGNAME=n64
|
||||||
OBJDIR=objs-$(PROGNAME)
|
OBJDIR=objs-$(PROGNAME)
|
||||||
CPU=at90usb1287
|
CPU=at90usb1287
|
||||||
CFLAGS=-Wall -mmcu=$(CPU) -DF_CPU=16000000L -Os -DUART1_STDOUT -DSTK525
|
CFLAGS=-Wall -mmcu=$(CPU) -DF_CPU=16000000L -Os -DUART1_STDOUT -DSTK525 -DVERSIONSTR=$(VERSIONSTR)
|
||||||
LDFLAGS=-mmcu=$(CPU) -Wl,-Map=$(PROGNAME).map
|
LDFLAGS=-mmcu=$(CPU) -Wl,-Map=$(PROGNAME).map
|
||||||
HEXFILE=$(PROGNAME).hex
|
HEXFILE=$(PROGNAME).hex
|
||||||
|
|
||||||
include Makefile.inc
|
|
||||||
|
|
||||||
all: $(HEXFILE)
|
all: $(HEXFILE)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user