Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Include the built-in PMCs in the build process

  • Loading branch information...
commit 818b412472005f4cf01ea038f1bac20318374e59 1 parent 7976f50
@atrodo authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.