diff options
author | Aki <please@ignore.pl> | 2021-07-16 19:28:25 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-07-16 19:28:25 +0200 |
commit | 734d37bb046e51404cb094cda66d8274694fe086 (patch) | |
tree | 65276a646cd93ad343af87e372a86c9bcb210366 /Makefile | |
download | markdown-734d37bb046e51404cb094cda66d8274694fe086.zip markdown-734d37bb046e51404cb094cda66d8274694fe086.tar.gz markdown-734d37bb046e51404cb094cda66d8274694fe086.tar.bz2 |
Put together a stub of the viewer
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9f647f5 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +CXXFLAGS+=-Wall -Wpedantic -Wextra +CXXFLAGS+=$(shell pkg-config --cflags gl glfw3 glew) +CXXFLAGS+=-I$(HOME)/repos/imgui +CXXFLAGS+=-I$(HOME)/repos/imgui/backends +CXXFLAGS+=-I$(HOME)/repos/imgui_md +LDLIBS+=-L$(HOME)/repos/imgui_md -l:libimgui_md.a +LDLIBS+=$(shell pkg-config --libs gl glfw3 glew md4c) +LDLIBS+=-lstdc++ -lm + +markdown: markdown.o imgui.o imgui_draw.o imgui_widgets.o imgui_demo.o imgui_impl_opengl3.o imgui_impl_glfw.o imgui_tables.o + +clean: + rm -f *.o + +.PHONY: clean |