1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-13 23:27:12 +00:00
Interlisp.maiko/bin/makefile-header
Nick Briggs 2bb5854303
Remove -funsigned-char from standard compilation options (Issue Interlisp/medley#152) (#229)
Add standardized options for Oracle Developer Studio C compiler (aka SunPro C)

Using -funsigned-char causes the Oracle Developer Studio C compiler typedefs for
int8_t to become unsigned (uint8_t) rather than signed, with no warning or
other indication that this has happened.
2021-01-15 19:47:06 -08:00

41 lines
956 B
Plaintext
Executable File

# Default values for Maiko makefile variables
# These get overridden by OS and hardware-specific stuff
# in sub-makefiles
SRCDIR = ../src/
INCDIR = ../inc/
INCLUDEDIR = ../include/
LIBDIR = ../lib
BINDIR = ./
RELDIR = ../RELEASE/
MAIN = _main
RANLIB = ranlib
AR = ar rcv
ANSICC = $(CC)
# Compiler flags
CLANG_CFLAGS = -std=gnu99 -fno-strict-aliasing -fwrapv
GCC_CFLAGS = -std=gnu99 -fno-strict-aliasing -fwrapv
DEVSTUDIO_CFLAGS = -std=gnu99 -fno-strict-aliasing
# for the files that need to be included in byte-swapped implementations:
BYTESWAPFILES =
SXHASHFILE =
BITBLTFILE =
DLPIFILES =
# for files needed by X windows version
XFILES =
# for files needed by color (actually files NOT needed by X)
COLORFILES =
# Flags to include inthe linking of various S/W
# LDFLAGS - in emulator itself (e.g., ldesingle)
# LDELDFLAGS - in "lde" unix-comm forker.
# LDEETHERLDFLAGS - in "ldeether" ethernet kick-start
LDFLAGS =
LDELDFLAGS =
LDEETHERLDFLAGS =