Commit 68a22a38 authored by Alessandro Rubini's avatar Alessandro Rubini

tools/Makefile: cleanup

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 4498f219
CFLAGS = -Wall -ggdb -I. -I../include -Imini_bone
CFLAGS = -Wall -ggdb
LDFLAGS = -lutil
ALL = genraminit genramvhd genrammif wrpc-uart-sw
......@@ -14,11 +14,8 @@ OBJDUMP = objdump
all: $(ALL)
%: %.o
${CC} $< $(LDFLAGS) -o $@
%.o: %.c
${CC} -c $^ $(CFLAGS) -O0
%: %.c
$(CC) $(CFLAGS) $< $(LDFLAGS) -o $@
clean:
rm -f $(ALL) *.o
rm -f $(ALL) *.o *~
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