1
0
mirror of https://github.com/raphnet/gc_n64_usb-v3 synced 2024-12-22 07:18:52 -05:00

Update makefiles for version string

This commit is contained in:
Raphael Assenat 2015-10-17 23:21:01 -04:00
parent 9b17716b20
commit 847a7c84e1
3 changed files with 8 additions and 6 deletions

View File

@ -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:

View File

@ -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\"

View File

@ -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)