Skip to content

Commit

Permalink
makefile OF: fix dependencies in gcc 4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
arturoc committed Nov 10, 2011
1 parent 5566b55 commit df9b344
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion libs/openFrameworksCompiled/project/android/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,8 @@ android:
$(OBJ_OUTPUT)%.o: ../../../%.cpp
@echo "compiling object for " $<
mkdir -p $(@D)
$(CXX) $(TARGET_CFLAGS) $(CFLAGS) $(USER_CFLAGS) -MMD -MP -MF$(OBJ_OUTPUT)$*.d -MT$(OBJ_OUTPUT)$*.d -o $@ -c $<
$(CXX) $(TARGET_CFLAGS) $(CFLAGS) $(USER_CFLAGS) -MMD -MP -MF$(OBJ_OUTPUT)$*.d -MT$(OBJ_OUTPUT)$*.o -o $@ -c $<


$(TARGET) : $(OBJS)
echo "creating " $(TARGET)
Expand Down
2 changes: 1 addition & 1 deletion libs/openFrameworksCompiled/project/linux/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ android:
$(OBJ_OUTPUT)%.o: ../../../%.cpp
@echo "compiling object for " $<
mkdir -p $(@D)
$(CXX) $(TARGET_CFLAGS) $(CFLAGS) $(USER_CFLAGS) -MMD -MP -MF$(OBJ_OUTPUT)$*.d -MT$(OBJ_OUTPUT)$*.d -o $@ -c $<
$(CXX) $(TARGET_CFLAGS) $(CFLAGS) $(USER_CFLAGS) -MMD -MP -MF$(OBJ_OUTPUT)$*.d -MT$(OBJ_OUTPUT)$*.o -o $@ -c $<

$(TARGET) : $(OBJS)
echo "creating " $(TARGET)
Expand Down
2 changes: 1 addition & 1 deletion libs/openFrameworksCompiled/project/linux64/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ android:
$(OBJ_OUTPUT)%.o: ../../../%.cpp
@echo "compiling object for " $<
mkdir -p $(@D)
$(CXX) $(TARGET_CFLAGS) $(CFLAGS) $(USER_CFLAGS) -MMD -MP -MF$(OBJ_OUTPUT)$*.d -MT$(OBJ_OUTPUT)$*.d -o $@ -c $<
$(CXX) $(TARGET_CFLAGS) $(CFLAGS) $(USER_CFLAGS) -MMD -MP -MF$(OBJ_OUTPUT)$*.d -MT$(OBJ_OUTPUT)$*.o -o $@ -c $<

$(TARGET) : $(OBJS)
echo "creating " $(TARGET)
Expand Down

0 comments on commit df9b344

Please sign in to comment.