Permalink
Browse files

Include the built-in PMCs in the build process

  • Loading branch information...
1 parent 7976f50 commit 818b412472005f4cf01ea038f1bac20318374e59 @atrodo committed Mar 4, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 Makefile
View
5 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

0 comments on commit 818b412

Please sign in to comment.