Generate date using RGBDS built-in
This adds a "Z" at the end of the build date, but this should be fine
This commit is contained in:
1
Makefile
1
Makefile
@@ -83,7 +83,6 @@ $(ROMFILE): $(patsubst $(SRCDIR)/%.asm,$(OBJDIR)/%.o,$(ASMFILES))
|
||||
@mkdir -p $(BINDIR)
|
||||
|
||||
@# Generate build date
|
||||
date +"%FT%H:%M:%S" > $(SRCDIR)/res/build.date
|
||||
$(RGBASM) $(ASFLAGS) -o $(OBJDIR)/build_date.o $(SRCDIR)/res/build_date.asm
|
||||
|
||||
$(RGBLINK) $(LDFLAGS) -o $(BINDIR)/tmp.gb -m $(@:.$(ROMExt)=.map) -n $(@:.$(ROMExt)=.sym) $^ $(OBJDIR)/build_date.o
|
||||
|
||||
Reference in New Issue
Block a user