Skip to content

Commit 9329cdb

Browse files
committed
Generalise libraries/Makefile.local
It's now possible to build libraries in, e.g., libraries/foo/bar rather than just libraries/foo
1 parent 2d485af commit 9329cdb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

libraries/Makefile.local

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Careful here: including boilerplate.mk breaks things, because paths.mk and
66
# opts.mk overrides some of the variable settings in the Cabal Makefile, so
77
# we just include config.mk and custom-settings.mk.
8-
TOP=../..
8+
include ../defineTOP.mk
99
SAVE_GHC := $(GHC)
1010
SAVE_AR := $(AR)
1111
SAVE_LD := $(LD)

libraries/defineTOP.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
TOP = ../..
3+

0 commit comments

Comments
 (0)