diff options
author | Joshua Haberman <joshua@ubuntu32.(none)> | 2009-06-03 22:58:29 -0700 |
---|---|---|
committer | Joshua Haberman <joshua@ubuntu32.(none)> | 2009-06-03 22:58:29 -0700 |
commit | 0aedd1825f7e5acbddf39d72233d28ee4c302c4c (patch) | |
tree | c156d4f5343273ae3aef3ad2671904c650e04958 | |
parent | d1f78c88faafea7e672c7c45e20f6f040942a92a (diff) |
Makefile: build descriptor.o.
-rw-r--r-- | Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -1,19 +1,23 @@ .PHONY: all clean +CC=gcc CFLAGS=-std=c99 -O3 -Wall -Wextra -pedantic -OBJ=upb_parse.o upb_table.o upb_struct.o +OBJ=upb_parse.o upb_table.o upb_struct.o descriptor.o all: $(OBJ) clean: rm -f $(OBJ) tests upb_parse.o: upb_parse.c upb_parse.h - gcc $(CFLAGS) -o upb_parse.o -c upb_parse.c + $(CC) $(CFLAGS) -o upb_parse.o -c upb_parse.c upb_table.o: upb_table.c upb_table.h - gcc $(CFLAGS) -o upb_table.o -c upb_table.c + $(CC) $(CFLAGS) -o upb_table.o -c upb_table.c upb_struct.o: upb_struct.c upb_struct.h - gcc $(CFLAGS) -o upb_struct.o -c upb_struct.c + $(CC) $(CFLAGS) -o upb_struct.o -c upb_struct.c + +descriptor.o: descriptor.c descriptor.h + $(CC) $(CFLAGS) -o descriptor.o -c descriptor.c tests: tests.c upb_parse.c upb_parse.h - gcc $(CFLAGS) -o tests tests.c + $(CC) $(CFLAGS) -o tests tests.c |