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 LDFLAGS = -lutil
ALL = genraminit genramvhd genrammif wrpc-uart-sw ALL = genraminit genramvhd genrammif wrpc-uart-sw
...@@ -14,11 +14,8 @@ OBJDUMP = objdump ...@@ -14,11 +14,8 @@ OBJDUMP = objdump
all: $(ALL) all: $(ALL)
%: %.o %: %.c
${CC} $< $(LDFLAGS) -o $@ $(CC) $(CFLAGS) $< $(LDFLAGS) -o $@
%.o: %.c
${CC} -c $^ $(CFLAGS) -O0
clean: 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