X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dbda9e86f0e5ec1184bc16d135bb7205bc99236e..007bea23c3245bac82c24c0f783a7baa5ac672cc:/src/makeprog.g95?ds=sidebyside diff --git a/src/makeprog.g95 b/src/makeprog.g95 index 391881439c..adc0ab2928 100644 --- a/src/makeprog.g95 +++ b/src/makeprog.g95 @@ -7,17 +7,26 @@ # # Include file for Cygwin/Mingw32 samples -WXDIR = $(WXWIN) +# WXDIR = $(WXWIN) 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 $(OBJECTS) $(TARGET)_resources.o $(TARGET).exe core *.rsc *.res + -$(RM) *.o + -$(RM) $(TARGET)_resources.o + -$(RM) core + -$(RM) *.rsc + -$(RM) *.res + -$(RM) *.exe + +cleanall: clean + -$(RM) $(TARGET).exe +