diff options
author | Joshua Haberman <joshua@reverberate.org> | 2009-05-25 18:31:27 -0700 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2009-05-25 18:31:27 -0700 |
commit | 0c80c384756a48d5f731eeafa62b6cd5f3861749 (patch) | |
tree | c723951c40b0dd7aea5ccd24e9b55fb0167ffb48 /Makefile | |
parent | fdcefd68b17a62c7129e910351f5b323044f835d (diff) |
A flurry of activity. Doesn't compile yet.
- a descriptor.c that describes the data structures in
descriptor.proto using the data structures in descriptor.h.
- everything renamed pbstream -> upb.
- modularization rethought.
- Doesn't compile yet, but should once things settle back down.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -1,12 +1,19 @@ .PHONY: all clean CFLAGS=-std=c99 -O3 -Wall -Wextra -pedantic -all: pbstream.o tests +OBJ=upb_parse.o upb_fieldmap.o upb_struct.o +all: $(OBJ) tests clean: - rm -f pbstream.o pbstruct.o tests + rm -f $(OBJ) tests -pbstream.o: pbstream.c pbstream.h - gcc $(CFLAGS) -o pbstream.o -c pbstream.c +upb_parse.o: upb_parse.c upb_parse.h + gcc $(CFLAGS) -o upb_parse.o -c upb_parse.c -tests: tests.c pbstream.c pbstream.h +upb_fieldmap.o: upb_fieldmap.c upb_fieldmap.h + gcc $(CFLAGS) -o upb_fieldmap.o -c upb_fieldmap.c + +upb_struct.o: upb_struct.c upb_struct.h + gcc $(CFLAGS) -o upb_struct.o -c upb_struct.c + +tests: tests.c upb_parse.c upb_parse.h gcc $(CFLAGS) -o tests tests.c |