1
0
mirror of https://github.com/PDP-10/klh10.git synced 2026-01-13 15:27:10 +00:00
PDP-10.klh10/mk/top.mk
Olaf Seibert 223c7b4698 Start using CPPFLAGS and use it for the -I options.
This avoids sloppy messages from the configure script about the preprocessor.
2016-01-25 01:37:23 +01:00

40 lines
1.2 KiB
Makefile

# KLH10 Makefile for @KLH10S_CENV_SYS_@ on @KLH10S_CENV_CPU_@
#
# Copyright © 2016 Olaf 'Rhialto' Seibert
# All Rights Reserved
#
# This file is part of the KLH10 Distribution. Use, modification, and
# re-distribution is permitted subject to the terms in the file
# named "LICENSE", which contains the full text of the legal notices
# and should always accompany this Distribution.
#
# This software is provided "AS IS" with NO WARRANTY OF ANY KIND.
#
# This notice (including the copyright and warranty disclaimer)
# must be included in all copies or derivations of this software.
#
#####################################################################
SRC = @top_srcdir@/src
BLDSRC = @top_builddir@/src
CC = @CC@
CFLAGS = -c @CFLAGS@
CPPFLAGS = @CPPFLAGS@ -I$(BLDSRC) -I$(SRC)
CFLAGS_LINT = -ansi -pedantic -Wall -Wshadow \
-Wstrict-prototypes -Wmissing-prototypes \
-Wmissing-declarations -Wredundant-decls
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
NETLIBS = @NETLIBS@
prefix = @prefix@
exec_prefix = @exec_prefix@
KLH10_HOME ?= ${DESTDIR}@bindir@
# Source definitions
CENVFLAGS = @CENVFLAGS@
MAKEFILE = @MAKEFILE@
CONFFLAGS_AUX = -DKLH10_I_CIRC=1
#---