Skip to content

Commit

Permalink
Add dummy command to submakefiles
Browse files Browse the repository at this point in the history
Add a dummy command to the all: rule in sub-makefiles.
This avoids "Nothing to be done for `all'." messages from make.

Signed-off-by: Paul Brook <paul@codesourcery.com>
  • Loading branch information
Paul Brook committed May 25, 2009
1 parent 3c80c6f commit c2fb263
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile.hw
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ OBJS+= lsi53c895a.o esp.o
OBJS+= dma-helpers.o sysbus.o

all: $(HWLIB)
# Dummy command so that make thinks it has done something
@true

$(HWLIB): $(OBJS)

Expand Down
2 changes: 2 additions & 0 deletions Makefile.target
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ kvm.o: CFLAGS+=$(KVM_CFLAGS)
kvm-all.o: CFLAGS+=$(KVM_CFLAGS)

all: $(PROGS)
# Dummy command so that make thinks it has done something
@true

#########################################################
# cpu emulator library
Expand Down

0 comments on commit c2fb263

Please sign in to comment.