From 3b7dc27fb5497903145a52413116fad25fbaf138 Mon Sep 17 00:00:00 2001 From: Josh Haberman Date: Tue, 24 Jan 2017 10:00:28 -0800 Subject: Fixed amalgamated build and added test. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 354d08c..09b71c4 100644 --- a/Makefile +++ b/Makefile @@ -534,3 +534,7 @@ amalgamate: upb.c upb.h upb.c upb.h: $(AMALGAMATE_SRCS) $(E) AMALGAMATE $@ $(Q) ./tools/amalgamate.py "" "" $^ + +amalgamated: upb.c upb.h + $(E) CC upb.c + $(Q) $(CC) -o upb.o -c upb.c $(WARNFLAGS) -- cgit v1.2.3