Skip to content

Commit

Permalink
Include the built-in PMCs in the build process
Browse files Browse the repository at this point in the history
  • Loading branch information
atrodo committed Mar 4, 2011
1 parent 7976f50 commit 818b412
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Expand Up @@ -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))

Expand All @@ -26,7 +29,7 @@ clean:
%.ito: %.lasm
$(PERL) lasm.pl < $< > $@

%.ito: %.t
%.ito: %.t $(LASM_PMC_COMPILED)
$(PERL) lasm.pl < $< > $@

.PHONY: help
Expand Down

0 comments on commit 818b412

Please sign in to comment.