Skip to content

Commit 8178b9d

Browse files
committed
fixed Makefile warning "ignoring prerequisites on suffix rule definition"
1 parent 2128309 commit 8178b9d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mchf-eclipse/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,25 +252,25 @@ basesw/%stm32f4xx_ll_usb.o: CFLAGS += -Wno-attributes
252252
basesw/%stm32f7xx_ll_usb.o: CFLAGS += -Wno-attributes
253253
basesw/%stm32h7xx_ll_usb.o: CFLAGS += -Wno-attributes
254254

255-
.S.o: %.d
255+
.S.o:
256256
$(ECHO) " [CC] $@"
257257
@mkdir -p $(subst $(ROOTLOC)/,,$(shell dirname $<))
258258
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(DEPFLAGS) -std=gnu11 -c ${INC_DIRS} $< -o $@
259259
$(POSTCOMPILE)
260260

261-
.c.o: %.d
261+
.c.o:
262262
$(ECHO) " [CC] $@"
263263
@mkdir -p $(subst $(ROOTLOC)/,,$(shell dirname $<))
264264
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(DEPFLAGS) -std=gnu11 -c ${INC_DIRS} $< -o $@
265265
$(POSTCOMPILE)
266266

267-
.cxx.o: %.d
267+
.cxx.o:
268268
$(ECHO) " [CXX] $@"
269269
@mkdir -p $(subst $(ROOTLOC)/,,$(shell dirname $<))
270270
$(CXX) $(CFLAGS) $(CXXFLAGS) $(DEPFLAGS) -std=gnu++11 -c ${INC_DIRS} $< -o $@
271271
$(POSTCOMPILE)
272272

273-
.cpp.o: %.d
273+
.cpp.o:
274274
$(ECHO) " [CXX] $@"
275275
@mkdir -p $(subst $(ROOTLOC)/,,$(shell dirname $<))
276276
$(CXX) $(CFLAGS) $(CXXFLAGS) $(DEPFLAGS) -std=gnu++11 -c ${INC_DIRS} $< -o $@

0 commit comments

Comments
 (0)