diff options
author | Joshua Haberman <joshua@reverberate.org> | 2009-07-02 18:30:58 -0700 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2009-07-02 18:30:58 -0700 |
commit | 6fdf83f59ffc24ed074a93e61efa09fcaee805fa (patch) | |
tree | 112e2570fe725eeb7b4a4dbca55001eb2ea0cc97 /Makefile | |
parent | 692b203ae23c82bb58143ea3e7950febd941a024 (diff) |
Let gcc do dependency generation.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -9,12 +9,6 @@ all: $(OBJ) test_table tests clean: rm -f $(OBJ) tests -upb_parse.o: upb_parse.c upb_parse.h -upb_table.o: upb_table.c upb_table.h -upb_msg.o: upb_msg.c upb_msg.h -upb_inlinedefs.o: upb_inlinedefs.c upb_msg.h -descriptor.o: descriptor.c descriptor.h -test_table: test_table.cc upb_table.o - -tests: tests.c upb_parse.c upb_parse.h - $(CC) $(CPPFLAGS) $(CFLAGS) -o tests tests.c +-include deps +deps: *.c *.h + gcc -MM *.c > deps |