1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-13 23:27:12 +00:00
Interlisp.maiko/bin/makefile-header
Bruce Mitchener fa13cc964c
Switch to compiling as ISO C99 + GNU extensions. (#203)
We currently build for ISO C90 with GNU extensions. The GNU
extensions include both library and language features.
Compiling without GNU extensions results in a number of compilation
failures due to use of those library features.

With this, we'll build for ISO C99 with the GNU extensions and
can evaluate what's going on with those library features in the
future.
2021-01-10 20:47:55 -08:00

40 lines
937 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 -funsigned-char -fno-strict-aliasing -fwrapv
GCC_CFLAGS = -std=gnu99 -funsigned-char -fno-strict-aliasing -fwrapv
# 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 =