From 734d37bb046e51404cb094cda66d8274694fe086 Mon Sep 17 00:00:00 2001 From: Aki Date: Fri, 16 Jul 2021 19:28:25 +0200 Subject: Put together a stub of the viewer --- Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.1