Commit 81fa01b7 authored by Alejandro Mery's avatar Alejandro Mery
Browse files

build: compile with -g and add .h files as dependencies

parent 3ad61094
CC = gcc CC = gcc
CFLAGS = -O2 -Wall -Wextra -std=c99 CFLAGS = -g -O2 -Wall -Wextra -std=c99
TOOLS = bin2fex fex2bin TOOLS = bin2fex fex2bin
...@@ -10,6 +10,9 @@ all: $(TOOLS) ...@@ -10,6 +10,9 @@ all: $(TOOLS)
clean: clean:
@rm -vf $(TOOLS) @rm -vf $(TOOLS)
$(TOOLS): sunxi-tools.h
bin2fex: bin2fex.h
.gitignore: Makefile .gitignore: Makefile
@for x in $(TOOLS) '*.o' '*.swp'; do \ @for x in $(TOOLS) '*.o' '*.swp'; do \
echo $$x; \ echo $$x; \
......
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