Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

78 lines (59 sloc) 1.943 kB
JULIAHOME = $(shell pwd)
include ./
default: release
$(MAKE) -C test quick
debug release: %: julia-% sys.ji
julia-debug julia-release:
$(MAKE) -C external
$(MAKE) -C src lib$@
$(MAKE) -C ui $@
$(MAKE) -C j
$(MAKE) -C ui/webserver $@
ln -f $@-$(DEFAULT_REPL) julia
sys.ji: VERSION j/sysimg.j j/start_image.j src/boot.j src/dump.c j/*.j
./julia -b sysimg.j
install: release
rm -fr $(DESTDIR)/*
mkdir -p $(DESTDIR)/usr/share/julia/lib
mkdir -p $(DESTDIR)/usr/bin
cp julia-release-readline $(DESTDIR)/usr/bin/julia
cp julia-release-basic $(DESTDIR)/usr/bin/julia-no-readline
cp -a lib/libarpack.$(SHLIB_EXT) lib/libfdm.$(SHLIB_EXT) lib/libfftw3.$(SHLIB_EXT) lib/libfftw3f.$(SHLIB_EXT) lib/libpcre.$(SHLIB_EXT).* lib/libpcrecpp.$(SHLIB_EXT).* lib/libpcreposix.$(SHLIB_EXT).* lib/librandom.$(SHLIB_EXT) lib/libLAPACK.$(SHLIB_EXT) $(DESTDIR)/usr/lib
cp -r j $(DESTDIR)/usr/share/julia
cp -r contrib $(DESTDIR)/usr/share/julia
cp -r examples $(DESTDIR)/usr/share/julia
cp -r sys.ji $(DESTDIR)/usr/share/julia
rm -f julia
rm -f *~ *#
rm -f sys.ji
$(MAKE) -C j clean
$(MAKE) -C src clean
$(MAKE) -C ui clean
$(MAKE) -C ui/webserver clean
$(MAKE) -C test/unicode clean
cleanall: clean
$(MAKE) -C src clean-flisp clean-support
distclean: cleanall
#distclean: cleanall
# $(MAKE) -C external cleanall
.PHONY: default debug release julia-debug julia-release \
test testall test-* sloccount clean cleanall
test: release
$(MAKE) -C test quick core
testall: release
$(MAKE) -C test all
test-%: release
$(MAKE) -C test $*
SLOCCOUNT = sloccount \
--addlang makefile \
--personcost 100000 \
--effort 3.6 1.2 \
--schedule 2.5 0.32 \
J_FILES = $(shell git ls-files | grep '\.j$$')
@for x in $(J_FILES); do cp $$x $${x%.j}.hs; done
git ls-files | sed 's/\.j$$/.hs/' | xargs $(SLOCCOUNT) | sed 's/haskell/*julia*/g'
@for x in $(J_FILES); do rm -f $${x%.j}.hs; done
Jump to Line
Something went wrong with that request. Please try again.