makefile fix

git-svn-id: https://svn.kapsi.fi/jpa/nanopb@968 e3a754e5-d11d-0410-8d38-ebb782a927b9
This commit is contained in:
Petteri Aimonen
2011-08-24 12:14:44 +00:00
parent 9cb63dd266
commit 4c76c9c398

View File

@@ -8,6 +8,7 @@ all: $(TESTS) run_unittests breakpoints
clean:
rm -f $(TESTS) person.pb* *.o *.gcda *.gcno
%.o: %.c
%.o: %.c $(DEPS)
$(CC) $(CFLAGS) -c -o $@ $<