
CC ?= clang
CXX ?= clang++
LD = clang++
TARGET=../microprofile_html.h

all: $(TARGET)

embed: embed.c
	$(CC) -g embed.c -o embed

$(TARGET): embed microprofile.html microprofilelive.html
	rm -f $(TARGET)
	./embed $(TARGET) microprofile.html ____embed____ g_MicroProfileHtml MICROPROFILE_EMBED_HTML
	./embed $(TARGET) microprofilelive.html ____embed____ g_MicroProfileHtmlLive MICROPROFILE_EMBED_HTML


