From 818b412472005f4cf01ea038f1bac20318374e59 Mon Sep 17 00:00:00 2001 From: atrodo Date: Thu, 3 Mar 2011 22:44:53 -0500 Subject: [PATCH] Include the built-in PMCs in the build process --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f8ca025..6ef2107 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,9 @@ HEADERS = $(INTERNAL_PMC_HEADERS) config.h lorito.h microcode.h interp.h loader. INTERNAL_PMC_COMPILED = internal_pmc/context.o internal_pmc/file.o COMPILED = $(INTERNAL_PMC_COMPILED) main.o interp.o core.o loader.o pmc.o internal_pmc.o pmc_func.o +LASM_PMC_FILES = $(wildcard pmc/*.lasm) +LASM_PMC_COMPILED = $(patsubst %.lasm,%.ito,$(LASM_PMC_FILES)) + TEST_FILES = $(wildcard t/*.t) COMPILED_TESTS = $(patsubst %.t,%.ito,$(TEST_FILES)) @@ -26,7 +29,7 @@ clean: %.ito: %.lasm $(PERL) lasm.pl < $< > $@ -%.ito: %.t +%.ito: %.t $(LASM_PMC_COMPILED) $(PERL) lasm.pl < $< > $@ .PHONY: help