From 70670e129ef09acfb28be013d06f2773b5a7d04d Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Fri, 15 Sep 2023 14:58:37 +0200 Subject: Add HTML serializer example --- examples/html/Makefile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 examples/html/Makefile (limited to 'examples/html/Makefile') diff --git a/examples/html/Makefile b/examples/html/Makefile new file mode 100644 index 0000000..77d94f8 --- /dev/null +++ b/examples/html/Makefile @@ -0,0 +1,26 @@ +.POSIX: + +PROJECT = html +DEPS = \ + main.o +SLWEB = ../../libslweb.a +DYNSTR = ../../dynstr/libdynstr.a +CFLAGS = -I ../../include -I ../../dynstr/include +SLWEB_FLAGS = -L ../../ -l slweb +DYNSTR_FLAGS = -L ../../dynstr -l dynstr + +all: $(PROJECT) + +clean: + rm -f $(DEPS) + +FORCE: + +$(PROJECT): $(DEPS) $(SLWEB) $(DYNSTR) + $(CC) $(LDFLAGS) $(DEPS) $(SLWEB_FLAGS) $(DYNSTR_FLAGS) -o $@ + +$(SLWEB): FORCE + +cd ../../ && $(MAKE) + +$(DYNSTR): FORCE + +cd ../../dynstr && $(MAKE) -- cgit v1.2.3