Skip to content

Commit

Permalink
Simplify master makefile and add test target
Browse files Browse the repository at this point in the history
  • Loading branch information
wolkykim committed Dec 16, 2015
1 parent 43260b7 commit eff0e1c
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions Makefile.in
Expand Up @@ -29,25 +29,21 @@
RM = @RM@

all:
@for DIR in src; do \
echo "===> $${DIR}"; \
(cd $${DIR}; make all); \
echo "<=== $${DIR}"; \
done
make -C src all

test: all
make -C tests test

install:
(cd src/; make install)
make -C src install

deinstall: uninstall
uninstall:
(cd src/; make deinstall)

clean:
@for DIR in src; do \
echo "===> $${DIR}"; \
(cd $${DIR}; make clean); \
echo "<=== $${DIR}"; \
done
make -C src clean


distclean: clean
@for DIR in src tests examples; do \
Expand Down

0 comments on commit eff0e1c

Please sign in to comment.