Skip to content

Commit

Permalink
added original Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
asangau committed Nov 19, 2018
1 parent f395919 commit 7465887
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
all: checkmakefiles
cd src && $(MAKE)

clean: checkmakefiles
cd src && $(MAKE) clean

cleanall: checkmakefiles
cd src && $(MAKE) MODE=release clean
cd src && $(MAKE) MODE=debug clean
rm -f src/Makefile

makefiles:
cd src && opp_makemake -f --deep

checkmakefiles:
@if [ ! -f src/Makefile ]; then \
echo; \
echo '======================================================================='; \
echo 'src/Makefile does not exist. Please use "make makefiles" to generate it!'; \
echo '======================================================================='; \
echo; \
exit 1; \
fi

0 comments on commit 7465887

Please sign in to comment.