aboutsummaryrefslogtreecommitdiff
path: root/examples/hello/Makefile
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-10-10 23:21:35 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-10-11 00:07:13 +0200
commit0222b75e8554796548e079aa3393c512ae30ac24 (patch)
tree5a154258ae5c1434a211ee67537e46ef64058437 /examples/hello/Makefile
parent832e198f8c77970b5b923eb18201ba83d9c72b80 (diff)
Rename project from slweb to libwebv0.1.0-rc3
It was found out there was another project of the same name around (https://git.sr.ht/~strahinja/slweb/), also related to website generation. In order to avoid confusion, a new name has been chosen for this project. Surprisingly, libweb was not in use by any distributions (according to https://repology.org and AUR index), and it should reflect well the intention behind this project i.e., being a library to build web-related stuff.
Diffstat (limited to 'examples/hello/Makefile')
-rw-r--r--examples/hello/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/hello/Makefile b/examples/hello/Makefile
index 217bccb..275fa5a 100644
--- a/examples/hello/Makefile
+++ b/examples/hello/Makefile
@@ -3,10 +3,10 @@
PROJECT = hello
DEPS = \
main.o
-SLWEB = ../../libslweb.a
+LIBWEB = ../../libweb.a
DYNSTR = ../../dynstr/libdynstr.a
CFLAGS = -I ../../include -I ../../dynstr/include
-SLWEB_FLAGS = -L ../../ -l slweb
+LIBWEB_FLAGS = -L ../../ -l libweb
DYNSTR_FLAGS = -L ../../dynstr -l dynstr
all: $(PROJECT)
@@ -16,10 +16,10 @@ clean:
FORCE:
-$(PROJECT): $(DEPS) $(SLWEB) $(DYNSTR)
- $(CC) $(LDFLAGS) $(DEPS) $(SLWEB_FLAGS) $(DYNSTR_FLAGS) -o $@
+$(PROJECT): $(DEPS) $(LIBWEB) $(DYNSTR)
+ $(CC) $(LDFLAGS) $(DEPS) $(LIBWEB_FLAGS) $(DYNSTR_FLAGS) -o $@
-$(SLWEB): FORCE
+$(LIBWEB): FORCE
+cd ../../ && $(MAKE)
$(DYNSTR): FORCE