Skip to content

Commit

Permalink
Integrate release date in build process
Browse files Browse the repository at this point in the history
Set the RELEASE_DATE define even for non-Docker builds.
  • Loading branch information
coldacid committed Sep 25, 2020
1 parent 363d7ee commit 7e1e5b9
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 24 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ INCLUDES = -I$(NDK_INC) -I$(MUI38_INC)
INCLUDES_OS4= -I$(SDK_INC) -I$(MUI50_INC)
INCLUDES_MOS= -I$(NDK_INC) -I$(MUI50_INC)

CFLAGS = -c -Os -fomit-frame-pointer -std=c99 -DCPU_VERS=68000
CFLAGS_030 = -c -mcpu=68030 -Os -fomit-frame-pointer -std=c99 -DCPU_VERS=68030
CFLAGS_040 = -c -mcpu=68040 -Os -fomit-frame-pointer -std=c99 -DCPU_VERS=68040
CFLAGS_060 = -c -mcpu=68060 -Os -fomit-frame-pointer -std=c99 -DCPU_VERS=68060
CFLAGS_MOS = -c -Os -fomit-frame-pointer -std=c99 -DCPU_VERS=MorphOS
CFLAGS_OS4 = -c -Os -fomit-frame-pointer -std=c99 -D__USE_INLINE__ -DCPU_VERS=AmigaOS4
CFLAGS = -c -Os -fomit-frame-pointer -std=c99 -DCPU_VERS=68000 -DRELEASE_DATE=$(DATE)
CFLAGS_030 = -c -mcpu=68030 -Os -fomit-frame-pointer -std=c99 -DCPU_VERS=68030 -DRELEASE_DATE=$(DATE)
CFLAGS_040 = -c -mcpu=68040 -Os -fomit-frame-pointer -std=c99 -DCPU_VERS=68040 -DRELEASE_DATE=$(DATE)
CFLAGS_060 = -c -mcpu=68060 -Os -fomit-frame-pointer -std=c99 -DCPU_VERS=68060 -DRELEASE_DATE=$(DATE)
CFLAGS_MOS = -c -Os -fomit-frame-pointer -std=c99 -DCPU_VERS=MorphOS -DRELEASE_DATE=$(DATE)
CFLAGS_OS4 = -c -Os -fomit-frame-pointer -std=c99 -D__USE_INLINE__ -DCPU_VERS=AmigaOS4 -DRELEASE_DATE=$(DATE)

##########################################################################
# Builder settings
Expand Down
12 changes: 6 additions & 6 deletions Makefile.Windows.mak
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ INCLUDES = -I$(NDK_INC) -I$(MUI38_INC)
INCLUDES_OS4= -I$(SDK_INC) -I$(MUI50_INC)
INCLUDES_MOS= -I$(NDK_INC) -I$(MUI50_INC)

CFLAGS = -c +aos68k -dontwarn=-1 -O2 -c99 -DCPU_VERS=68000
CFLAGS_030 = -c +aos68k -cpu=68030 -dontwarn=-1 -O2 -c99 -DCPU_VERS=68030
CFLAGS_040 = -c +aos68k -cpu=68040 -dontwarn=-1 -O2 -c99 -DCPU_VERS=68040
CFLAGS_060 = -c +aos68k -cpu=68060 -dontwarn=-1 -O2 -c99 -DCPU_VERS=68060
CFLAGS_MOS = -c +morphos -dontwarn=-1 -O2 -c99 -DCPU_VERS=MorphOS
CFLAGS_OS4 = -c +aosppc -dontwarn=-1 -O2 -c99 -D__USE_INLINE__ -DCPU_VERS=AmigaOS4
CFLAGS = -c +aos68k -dontwarn=-1 -O2 -c99 -DCPU_VERS=68000 -DRELEASE_DATE=$(DATE)
CFLAGS_030 = -c +aos68k -cpu=68030 -dontwarn=-1 -O2 -c99 -DCPU_VERS=68030 -DRELEASE_DATE=$(DATE)
CFLAGS_040 = -c +aos68k -cpu=68040 -dontwarn=-1 -O2 -c99 -DCPU_VERS=68040 -DRELEASE_DATE=$(DATE)
CFLAGS_060 = -c +aos68k -cpu=68060 -dontwarn=-1 -O2 -c99 -DCPU_VERS=68060 -DRELEASE_DATE=$(DATE)
CFLAGS_MOS = -c +morphos -dontwarn=-1 -O2 -c99 -DCPU_VERS=MorphOS -DRELEASE_DATE=$(DATE)
CFLAGS_OS4 = -c +aosppc -dontwarn=-1 -O2 -c99 -D__USE_INLINE__ -DCPU_VERS=AmigaOS4 -DRELEASE_DATE=$(DATE)

##########################################################################
# Builder settings
Expand Down
12 changes: 6 additions & 6 deletions Makefile.amigaos
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ INCLUDES = -IDevkits:sdk/classic/ndk_39/include/include_h -IDevkits:sdk/classic/
INCLUDES_OS4= -ISDK:include/include_h -ISDK:MUI/C/include $(INCLUDES_COMMON)
INCLUDES_MOS= -IDevkits:sdk/morphos/1.0/os-include -IDevkits:sdk/classic/ndk_39/include/include_h -IDevkits:sdk/classic/MUI/Developer/C/Include $(INCLUDES_COMMON)

CFLAGS = -c +aos68k -dontwarn=-1 -O2 -c99 -DCPU_VERS=68000
CFLAGS_030 = -c +aos68k -cpu=68030 -dontwarn=-1 -O2 -c99 -DCPU_VERS=68030
CFLAGS_040 = -c +aos68k -cpu=68040 -dontwarn=-1 -O2 -c99 -DCPU_VERS=68040
CFLAGS_060 = -c +aos68k -cpu=68060 -dontwarn=-1 -O2 -c99 -DCPU_VERS=68060
CFLAGS_MOS = -c +morphos -dontwarn=-1 -O2 -c99 -DCPU_VERS=MorphOS
CFLAGS_OS4 = -c +aosppc -dontwarn=-1 -O2 -c99 -D__USE_INLINE__ -DCPU_VERS=AmigaOS4
CFLAGS = -c +aos68k -dontwarn=-1 -O2 -c99 -DCPU_VERS=68000 -DRELEASE_DATE=$(DATE)
CFLAGS_030 = -c +aos68k -cpu=68030 -dontwarn=-1 -O2 -c99 -DCPU_VERS=68030 -DRELEASE_DATE=$(DATE)
CFLAGS_040 = -c +aos68k -cpu=68040 -dontwarn=-1 -O2 -c99 -DCPU_VERS=68040 -DRELEASE_DATE=$(DATE)
CFLAGS_060 = -c +aos68k -cpu=68060 -dontwarn=-1 -O2 -c99 -DCPU_VERS=68060 -DRELEASE_DATE=$(DATE)
CFLAGS_MOS = -c +morphos -dontwarn=-1 -O2 -c99 -DCPU_VERS=MorphOS -DRELEASE_DATE=$(DATE)
CFLAGS_OS4 = -c +aosppc -dontwarn=-1 -O2 -c99 -D__USE_INLINE__ -DCPU_VERS=AmigaOS4 -DRELEASE_DATE=$(DATE)

##########################################################################
# Builder settings
Expand Down
12 changes: 6 additions & 6 deletions Makefile.linux
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ INCLUDES = -I$(NDK_INC) -I$(MUI38_INC)
INCLUDES_OS4= -I$(SDK_INC) -I$(MUI50_INC)
INCLUDES_MOS= -I$(NDK_INC) -I$(MUI50_INC)

CFLAGS = -c +aos68k -dontwarn=-1 -O2 -c99 -DCPU_VERS=68000
CFLAGS_030 = -c +aos68k -cpu=68030 -dontwarn=-1 -O2 -c99 -DCPU_VERS=68030
CFLAGS_040 = -c +aos68k -cpu=68040 -dontwarn=-1 -O2 -c99 -DCPU_VERS=68040
CFLAGS_060 = -c +aos68k -cpu=68060 -dontwarn=-1 -O2 -c99 -DCPU_VERS=68060
CFLAGS_MOS = -c +morphos -dontwarn=-1 -O2 -c99 -DCPU_VERS=MorphOS
CFLAGS_OS4 = -c +aosppc -dontwarn=-1 -O2 -c99 -D__USE_INLINE__ -DCPU_VERS=AmigaOS4
CFLAGS = -c +aos68k -dontwarn=-1 -O2 -c99 -DCPU_VERS=68000 -DRELEASE_DATE=$(DATE)
CFLAGS_030 = -c +aos68k -cpu=68030 -dontwarn=-1 -O2 -c99 -DCPU_VERS=68030 -DRELEASE_DATE=$(DATE)
CFLAGS_040 = -c +aos68k -cpu=68040 -dontwarn=-1 -O2 -c99 -DCPU_VERS=68040 -DRELEASE_DATE=$(DATE)
CFLAGS_060 = -c +aos68k -cpu=68060 -dontwarn=-1 -O2 -c99 -DCPU_VERS=68060 -DRELEASE_DATE=$(DATE)
CFLAGS_MOS = -c +morphos -dontwarn=-1 -O2 -c99 -DCPU_VERS=MorphOS -DRELEASE_DATE=$(DATE)
CFLAGS_OS4 = -c +aosppc -dontwarn=-1 -O2 -c99 -D__USE_INLINE__ -DCPU_VERS=AmigaOS4 -DRELEASE_DATE=$(DATE)

##########################################################################
# Builder settings
Expand Down

0 comments on commit 7e1e5b9

Please sign in to comment.