Changeset View
Changeset View
Standalone View
Standalone View
emulators/riscv-isa-sim/files/patch-Makefile.in
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- Makefile.in.orig 2016-08-01 15:40:47 UTC | |||||
+++ Makefile.in | |||||
@@ -188,13 +188,13 @@ _$(1).cc : | |||||
# Build the object files for this subproject | |||||
-$(2)_pch := $$(patsubst %.h, %.h.gch, $$($(2)_precompiled_hdrs)) | |||||
+$(2)_pch := $$(patsubst %.hpp, %.h.gch, $$($(2)_precompiled_hdrs)) | |||||
$(2)_objs := $$(patsubst %.cc, %.o, $$($(2)_srcs)) | |||||
$(2)_c_objs := $$(patsubst %.c, %.o, $$($(2)_c_srcs)) | |||||
$(2)_deps := $$(patsubst %.o, %.d, $$($(2)_objs)) | |||||
$(2)_deps += $$(patsubst %.o, %.d, $$($(2)_c_objs)) | |||||
-$(2)_deps += $$(patsubst %.h, %.h.d, $$($(2)_precompiled_hdrs)) | |||||
-$$($(2)_pch) : %.h.gch : %.h | |||||
+$(2)_deps += $$(patsubst %.hpp, %.h.d, $$($(2)_precompiled_hdrs)) | |||||
+$$($(2)_pch) : %.h.gch : %.hpp | |||||
$(COMPILE) $$< -o $$@ | |||||
# If using clang, don't depend (and thus don't build) precompiled headers | |||||
$$($(2)_objs) : %.o : %.cc $$($(2)_gen_hdrs) $(if $(filter-out clang,$(CC)),$$($(2)_pch)) |