Added main makefile to perform the single-header and doc updates

as well as compile some of the demos and the example
This commit is contained in:
Martin Gerhardy 2020-04-09 10:23:27 +02:00
parent 4ecc4b8d8b
commit 42dd20c47c
1 changed files with 16 additions and 0 deletions

16
Makefile Normal file
View File

@ -0,0 +1,16 @@
all: doc example demo
paq:
cd src && ./paq.sh > ../nuklear.h
doc: paq
$(MAKE) -C doc
cd doc && ./build.sh
example: paq
$(MAKE) -C example
demo: paq
$(MAKE) -C demo/glfw_opengl2
$(MAKE) -C demo/glfw_opengl3