Skip to content

Commit

Permalink
Fix a bug in parallel builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
dbetz committed Apr 13, 2015
1 parent 73670fc commit 9a4b4e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ all: $(BUILD) $(LIBNAME) $(OBJ) Makefile
$(BUILD)/%.o: $(SRCDIR)/%.cpp
$(CXX) $(CXXFLAGS) -o $@ -c $<

$(LIBNAME):
make -C PropellerCompiler CROSS=$(CROSS) BUILD=$(realpath $(BUILD))/PropellerCompiler all
$(LIBNAME): $(BUILD)
$(MAKE) -C PropellerCompiler CROSS=$(CROSS) BUILD=$(realpath $(BUILD))/PropellerCompiler all

$(BUILD):
mkdir -p $(BUILD)
Expand Down
1 change: 0 additions & 1 deletion PropellerCompiler/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ else
endif
CXXFLAGS += $(CFLAGS)


LIBNAME=$(BUILD)/libopenspin.a
SRCDIR=.
OBJ=$(BUILD)/BlockNestStackRoutines.o \
Expand Down

0 comments on commit 9a4b4e1

Please sign in to comment.