summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authordcs <dcs@FreeBSD.org>1999-11-23 15:55:28 +0000
committerdcs <dcs@FreeBSD.org>1999-11-23 15:55:28 +0000
commit24489df464e9ee13c2980cbbcf80499b0ab33966 (patch)
treef4398a8d26f06eeb775b83cae402a7e2ba761d8a /sys/boot
parent0546252fb25693a3e43209c75359386f30dd0742 (diff)
downloadFreeBSD-src-24489df464e9ee13c2980cbbcf80499b0ab33966.zip
FreeBSD-src-24489df464e9ee13c2980cbbcf80499b0ab33966.tar.gz
Improve Makefile by using .PATH.
Taught by: peter
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/ficl/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/boot/ficl/Makefile b/sys/boot/ficl/Makefile
index c2b0bd4..9329528 100644
--- a/sys/boot/ficl/Makefile
+++ b/sys/boot/ficl/Makefile
@@ -1,11 +1,13 @@
# $FreeBSD$
#
+.PATH: ${.CURDIR}/${MACHINE_ARCH}
+
LIB= ficl
NOPROFILE= yes
INTERNALLIB= yes
INTERNALSTATICLIB= yes
-BASE_SRCS= dict.c ficl.c math64.c stack.c vm.c words.c
-SRCS= ${BASE_SRCS} ${MACHINE_ARCH}/sysdep.c softcore.c
+BASE_SRCS= dict.c ficl.c math64.c stack.c sysdep.c vm.c words.c
+SRCS= ${BASE_SRCS} softcore.c
CLEANFILES= softcore.c testmain
# Standard softwords
OpenPOWER on IntegriCloud