aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-07-06 18:51:56 -0700
committerMichael Forney <mforney@mforney.org>2021-07-06 19:09:10 -0700
commit70a532525946a28dc1ffacc542ba6a5b67aee986 (patch)
treebff296a43c06fff62bed451509782cfbc703167a /Makefile
parent0f348202d1282d2b38c3a84547693a7a82b25724 (diff)
Add functions for encoding/decoding UTF-8/16
These will be needed to implement wide string literals.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f53225d..b04f111 100644
--- a/Makefile
+++ b/Makefile
@@ -37,6 +37,7 @@ SRC=\
token.c\
tree.c\
type.c\
+ utf.c\
util.c\
$(BACKEND).c
OBJ=$(SRC:%.c=$(objdir)/%.o)
@@ -61,6 +62,7 @@ $(objdir)/targ.o : targ.c util.h cc.h $(stagedeps) ; $(CC) $(CFLAGS)
$(objdir)/token.o : token.c util.h cc.h $(stagedeps) ; $(CC) $(CFLAGS) -c -o $@ token.c
$(objdir)/tree.o : tree.c util.h $(stagedeps) ; $(CC) $(CFLAGS) -c -o $@ tree.c
$(objdir)/type.o : type.c util.h cc.h $(stagedeps) ; $(CC) $(CFLAGS) -c -o $@ type.c
+$(objdir)/utf.o : utf.c utf.h $(stagedeps) ; $(CC) $(CFLAGS) -c -o $@ utf.c
$(objdir)/util.o : util.c util.h $(stagedeps) ; $(CC) $(CFLAGS) -c -o $@ util.c
# Make sure stage2 and stage3 binaries are stripped by adding -s to