X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6474416b2ec2a63ebc28548733d93bbe5aded70d..f77e1e5d0d0eb7515425c2ad4daa1205674cb180:/src/makeprog.g95 diff --git a/src/makeprog.g95 b/src/makeprog.g95 index 4ded0d8261..adc0ab2928 100644 --- a/src/makeprog.g95 +++ b/src/makeprog.g95 @@ -14,7 +14,7 @@ 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) @@ -22,7 +22,11 @@ $(TARGET)_resources.o: $(TARGET).rc clean: -$(RM) *.o -$(RM) $(TARGET)_resources.o - -$(RM) $(TARGET).exe - -$(RM) core + -$(RM) core -$(RM) *.rsc -$(RM) *.res + -$(RM) *.exe + +cleanall: clean + -$(RM) $(TARGET).exe +