1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-13 15:18:14 +00:00
Interlisp.maiko/bin/makefile-header
Nick Briggs 5c12d3d9fc
Define RM in makefile if it is not already defined (#326)
Some versions of "make" do not predefine make variable RM (looking at you, FreeBSD)
so if it has NOT been defined we define it as "rm -f"

Also, update the cleanup target to use $(RM) rather than refering directly to "rm".
2021-01-30 18:10:39 -08:00

35 lines
785 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 = ./
RANLIB = ranlib
AR = ar rcv
RM ?= rm -f
# Compiler flags
CLANG_CFLAGS = -std=gnu99 -fno-strict-aliasing
GCC_CFLAGS = -std=gnu99 -fno-strict-aliasing
DEVSTUDIO_CFLAGS = -std=gnu99 -fno-strict-aliasing
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 =