X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b4fe51258d17c1e63c55b2b83c8db83e44b15927..b2ce5e1b2792f53e2e4a1e5f5678ab31c83559c7:/src/makeprog.g95 diff --git a/src/makeprog.g95 b/src/makeprog.g95 index fbe21342f6..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: - rm -f *.o - rm -f $(TARGET)_resources.o - rm -f $(TARGET).exe - rm -f core - rm -f *.rsc - rm -f *.res + -$(RM) *.o + -$(RM) $(TARGET)_resources.o + -$(RM) core + -$(RM) *.rsc + -$(RM) *.res + -$(RM) *.exe + +cleanall: clean + -$(RM) $(TARGET).exe +