diff options
author | Ben Gamari <ben@smart-cactus.org> | 2021-09-09 17:02:15 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-11-18 22:27:20 -0500 |
commit | 78d4bca01c1efe481c6ce2356497593d3058fb95 (patch) | |
tree | 18896178678a62cecafb5082819e949a12cd6ad0 /rules/c-sources.mk | |
parent | 12d023d1b4706665645cc0783dd1ae67625357a3 (diff) | |
download | haskell-78d4bca01c1efe481c6ce2356497593d3058fb95.tar.gz |
ghc-cabal, make: Add support for building C++ object code
Co-Authored By: Matthew Pickering <matthew@well-typed.com>
Diffstat (limited to 'rules/c-sources.mk')
-rw-r--r-- | rules/c-sources.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/c-sources.mk b/rules/c-sources.mk index 87ee7b23a5..edc0cdbf04 100644 --- a/rules/c-sources.mk +++ b/rules/c-sources.mk @@ -12,6 +12,7 @@ define c-sources # args: $1 = dir, $2 = distdir $1_$2_C_FILES = $$(patsubst %,$1/%,$$($1_$2_C_SRCS)) +$1_$2_CXX_FILES = $$(patsubst %,$1/%,$$($1_$2_CXX_SRCS)) $1_$2_S_FILES = $$(patsubst %,$1/%,$$($1_$2_S_SRCS)) $1_$2_CMM_FILES = $$(patsubst %,$1/%,$$($1_$2_CMM_SRCS)) endef |