|
|
@@ -11,7 +11,9 @@ bench: |
|
|
|
.PHONY: bench |
|
|
|
|
|
|
|
dist: lolunit-$(LOLUNIT_VERSION).tar.gz |
|
|
|
dist: lolremez-$(LOLREMEZ_VERSION).tar.gz |
|
|
|
|
|
|
|
.PHONY: lolunit-$(LOLUNIT_VERSION).tar.gz |
|
|
|
lolunit-$(LOLUNIT_VERSION).tar.gz: |
|
|
|
rm -rf lolunit-$(LOLUNIT_VERSION) |
|
|
|
mkdir lolunit-$(LOLUNIT_VERSION) |
|
|
@@ -20,3 +22,24 @@ lolunit-$(LOLUNIT_VERSION).tar.gz: |
|
|
|
tar cvzf lolunit-$(LOLUNIT_VERSION).tar.gz lolunit-$(LOLUNIT_VERSION) |
|
|
|
rm -rf lolunit-$(LOLUNIT_VERSION) |
|
|
|
|
|
|
|
.PHONY: lolremez-$(LOLREMEZ_VERSION).tar.gz |
|
|
|
lolremez-$(LOLREMEZ_VERSION).tar.gz: |
|
|
|
rm -rf lolremez-$(LOLREMEZ_VERSION) |
|
|
|
mkdir lolremez-$(LOLREMEZ_VERSION) |
|
|
|
mkdir lolremez-$(LOLREMEZ_VERSION)/lol |
|
|
|
mkdir lolremez-$(LOLREMEZ_VERSION)/lol/math |
|
|
|
cp $(top_srcdir)/src/real.cpp $(top_srcdir)/test/math/remez.cpp \ |
|
|
|
lolremez-$(LOLREMEZ_VERSION) |
|
|
|
cat $(top_srcdir)/src/real.cpp | sed 's@core.h@lol/math/real.h@' > \ |
|
|
|
lolremez-$(LOLREMEZ_VERSION)/real.cpp |
|
|
|
cp $(top_srcdir)/src/lol/math/real.h \ |
|
|
|
$(top_srcdir)/src/lol/math/matrix.h \ |
|
|
|
$(top_srcdir)/src/lol/math/remez.h \ |
|
|
|
lolremez-$(LOLREMEZ_VERSION)/lol/math |
|
|
|
printf 'remez: real.cpp remez.cpp\n' > lolremez-$(LOLREMEZ_VERSION)/Makefile |
|
|
|
printf '\t$$(CXX) -I. -O2 -g -ggdb $$^ -o $$@\n' >> lolremez-$(LOLREMEZ_VERSION)/Makefile |
|
|
|
printf 'clean:\n' >> lolremez-$(LOLREMEZ_VERSION)/Makefile |
|
|
|
printf '\trm -f remez\n' >> lolremez-$(LOLREMEZ_VERSION)/Makefile |
|
|
|
tar cvzf lolremez-$(LOLREMEZ_VERSION).tar.gz lolremez-$(LOLREMEZ_VERSION) |
|
|
|
rm -rf lolremez-$(LOLREMEZ_VERSION) |
|
|
|
|