mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-13 23:27:12 +00:00
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.
40 lines
937 B
Plaintext
Executable File
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 =
|
|
|