1
0
mirror of https://github.com/PDP-10/klh10.git synced 2026-02-06 08:25:37 +00:00
Files
PDP-10.klh10/src/Mk-fbx86.mk
Olaf Seibert 58b59dbaa1 Overlay panda-dist/klh10-2.0h
by the late MRC, Mark Crispin.
Source: probably the former http://panda.com/tops-20/ .
panda-dist.tar.gz dated Mar 30  2007.
2015-04-27 23:07:21 +02:00

48 lines
1.5 KiB
Makefile

# KLH10 Makefile for FreeBSD on i386
# $Id: Mk-fbx86.mk,v 2.4 2002/04/24 18:03:32 klh Exp $
#
# Copyright © 2001 Kenneth L. Harrenstien
# 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.
#
#####################################################################
# Local config setup, for BSD "make"!
# Recursively invokes make with right params for local platform.
# Build definitions
SRC = ../../src
CFLAGS = -c -g3 -O3 -I. -I$(SRC)
CFLAGS_LINT = -ansi -pedantic -Wall -Wshadow \
-Wstrict-prototypes -Wmissing-prototypes \
-Wmissing-declarations -Wredundant-decls
# Source definitions
CENVFLAGS = -DCENV_CPU_I386=1 -DCENV_SYS_FREEBSD=1
# Any target with no customized rule here is simply passed on to the
# standard Makefile. If no target is specified, "usage" is passed on
# to generate a helpful printout.
usage:
@make -f $(SRC)/Makefile.mk usage
install:
@make -f $(SRC)/Makefile.mk install-unix
$(.TARGETS):
@make -f $(SRC)/Makefile.mk $@ \
"SRC=$(SRC)" \
"CFLAGS=$(CFLAGS)" \
"CFLAGS_LINT=$(CFLAGS_LINT)" \
"CENVFLAGS=$(CENVFLAGS)"