Skip to content
Snippets Groups Projects
Commit d687543e authored by Isaac Potoczny-Jones's avatar Isaac Potoczny-Jones
Browse files

cleaned and simplified makefiles to speed up build

parent 9c69511e
No related branches found
No related tags found
No related merge requests found
all:
mkdir -p dist/tmp
ghc -cpp --make -odir dist/tmp -hidir dist/tmp -i../.. Setup.lhs -o setup
clean:
rm -f setup a.out dist/build/testA
rm -rf ,tmp dist ,tmp2
find . -name "*.o" |xargs rm -f
find . -name "*.hi" |xargs rm -f
check: all
./setup configure --user --prefix=/tmp/foo
./setup build
./setup install --install-prefix=/tmp/bar
ls /tmp/bar*
# install w/ register!
./setup install
# ls /tmp/foo*
./setup sdist
ls dist
include ../Tests.mk
all:
mkdir -p dist/tmp
ghc -cpp --make -odir dist/tmp -hidir dist/tmp -i../.. Setup.lhs -o setup
semiclean:
rm -rf ,tmp dist
find . -name "*.o" |xargs rm -f
find . -name "*.hi" |xargs rm -f
clean: semiclean
rm -f setup a.out hunitTest
rm -f installed-pkg-config
check: all
./setup configure --user --prefix=/tmp/foo
./setup install --install-prefix=/tmp/bar
ls /tmp/bar*
# install w/ register!
./setup install
# ls /tmp/foo*
./setup sdist
ls dist
include ../Tests.mk
all:
ghc -cpp --make -i../.. Setup.lhs -o setup
clean:
rm -f setup a.out
rm -rf ,tmp* dist
find . -name "*.o" |xargs rm -f
find . -name "*.hi" |xargs rm -f
check: all
./setup configure --user --prefix=/tmp/foo
./setup build
./setup install --install-prefix=/tmp/bar
ls /tmp/bar*
# install w/ register!
./setup install
# ls /tmp/foo*
./setup sdist
ls dist
all:
mkdir -p dist/tmp
ghc -cpp --make -odir dist/tmp -hidir dist/tmp -i../.. Setup.lhs -o setup
clean:
rm -f setup
rm -rf ,tmp dist ,tmp2
find . -name "*.o" |xargs rm -f
find . -name "*.hi" |xargs rm -f
check: all
./setup configure --user --prefix=/tmp/foo
./setup build
./setup install --install-prefix=/tmp/bar
ls /tmp/bar*
# install w/ register!
./setup install
# ls /tmp/foo*
./setup sdist
ls dist
include ../Tests.mk
all:
mkdir -p dist/tmp
ghc -cpp --make -odir dist/tmp -hidir dist/tmp -i../.. Setup.lhs -o setup
clean:
rm -f setup a.out dist/build/testA
rm -rf ,tmp dist ,tmp2
find . -name "*.o" |xargs rm -f
find . -name "*.hi" |xargs rm -f
check: all
./setup configure --user --prefix=/tmp/foo
./setup build
./setup install --install-prefix=/tmp/bar
ls /tmp/bar*
# install w/ register!
./setup install
# ls /tmp/foo*
./setup sdist
ls dist
include ../Tests.mk
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment