Commit fd07c544 authored by Alejandro Mery's avatar Alejandro Mery
Browse files

build: add .h and Makefile as dependencies of the tools

parent 4defc577
...@@ -10,8 +10,11 @@ all: $(TOOLS) ...@@ -10,8 +10,11 @@ all: $(TOOLS)
clean: clean:
@rm -vf $(TOOLS) @rm -vf $(TOOLS)
$(TOOLS): sunxi-tools.h
bin2fex: bin2fex.h $(TOOLS): Makefile sunxi-tools.h
%: %.c %.h
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(filter %.c,$^) $(LIBS)
.gitignore: Makefile .gitignore: Makefile
@for x in $(TOOLS) '*.o' '*.swp'; do \ @for x in $(TOOLS) '*.o' '*.swp'; do \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment