From 9b80308cf8304dd3ce8fa1cd313524595bd06351 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Sat, 30 Jun 2012 14:31:08 +0000 Subject: [PATCH] build: factor the LolFx compilation rule into configure.ac. --- neercs/Makefile.am | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/neercs/Makefile.am b/neercs/Makefile.am index cbcbc23..5935d7e 100644 --- a/neercs/Makefile.am +++ b/neercs/Makefile.am @@ -28,9 +28,5 @@ CLEANFILES = $(noinst_PROGRAMS:%$(EXEEXT)=%.self) \ SUFFIXES = .lolfx .lolfx.o: - (echo "char const *"; \ - echo "lolfx_$(notdir $(basename $(filter %.lolfx, $^))) ="; \ - $(SED) 's/"/\\"/g' $(filter %.lolfx, $^) | \ - $(SED) 's/\([^\r]*\).*/"\1\\n"/'; \ - echo ";") | $(CXXCOMPILE) -xc++ -c - -o $@ + $(LOLFX_BUILD)