diff --git a/cmd/xfe/icons/Makefile b/cmd/xfe/icons/Makefile index 55965a602129..ccfcf10bd555 100644 --- a/cmd/xfe/icons/Makefile +++ b/cmd/xfe/icons/Makefile @@ -170,7 +170,7 @@ MKICONS_EXTRA = $(OS_LIBS) -lm # XXX We need to reach into the Image Library modules's source directory to # get the file if.h -$(MKICONS_EXE): mkicons.c $(MKICONS_LIB) +$(MKICONS_EXE): mkicons.cpp $(MKICONS_LIB) $(CCC) $(CFLAGS) -o $@ -I$(DEPTH)/modules/libimg/src $< $(MKICONS_LIB) $(MKICONS_EXTRA) $(ICONLIST): $(ICONS) diff --git a/cmd/xfe/icons/mkicons.c b/cmd/xfe/icons/mkicons.cpp similarity index 100% rename from cmd/xfe/icons/mkicons.c rename to cmd/xfe/icons/mkicons.cpp