From 70a532525946a28dc1ffacc542ba6a5b67aee986 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Tue, 6 Jul 2021 18:51:56 -0700 Subject: Add functions for encoding/decoding UTF-8/16 These will be needed to implement wide string literals. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3