summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJosh Haberman <jhaberman@gmail.com>2017-01-24 10:00:28 -0800
committerJosh Haberman <jhaberman@gmail.com>2017-01-24 10:08:06 -0800
commit3b7dc27fb5497903145a52413116fad25fbaf138 (patch)
tree09e1f9d42c000d54c31653dc9d8b9e570c41a597 /Makefile
parent5aa01b46e41dcdbbd2dad6d1b7ecce9a60b8ce7a (diff)
Fixed amalgamated build and added test.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
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)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback