X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6a570331df89d26dfb682bedab0faf13e2c285d8..de2589be08dc62a6dc026edb4bb113bccfb8ac5a:/src/makeprog.g95 diff --git a/src/makeprog.g95 b/src/makeprog.g95 index ca4f6009ce..adc0ab2928 100644 --- a/src/makeprog.g95 +++ b/src/makeprog.g95 @@ -14,15 +14,19 @@ include $(WXDIR)/src/makeg95.env all: $(TARGET)$(GUISUFFIX)$(EXESUFF) $(TARGET)_resources.$(OBJSUFF) $(EXTRATARGETS) $(TARGET)$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(TARGET)_resources.$(OBJSUFF) $(WXLIB) - $(CC) $(LDFLAGS) -o $(TARGET)$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(TARGET)_resources.$(OBJSUFF) $(LDLIBS) + $(CXX) $(ALL_LDFLAGS) -o $(TARGET)$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(TARGET)_resources.$(OBJSUFF) $(LDLIBS) $(TARGET)_resources.o: $(TARGET).rc $(RESCOMP) $(RCINPUTSWITCH) $(TARGET).rc $(RCOUTPUTSWITCH) $(TARGET)_resources.o $(RESFLAGS) clean: - erase *.o - erase $(TARGET)_resources.o - erase $(TARGET).exe - erase core - erase *.rsc - erase *.res + -$(RM) *.o + -$(RM) $(TARGET)_resources.o + -$(RM) core + -$(RM) *.rsc + -$(RM) *.res + -$(RM) *.exe + +cleanall: clean + -$(RM) $(TARGET).exe +