78e376b56f
from Greg Chicares, with some small modifications. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
33 lines
769 B
Plaintext
33 lines
769 B
Plaintext
#
|
|
# File: makeprog.g95
|
|
# Author: Julian Smart
|
|
# Created: 1999
|
|
# Updated:
|
|
# Copyright: (c) Julian Smart, 1999
|
|
#
|
|
# Include file for Cygwin/Mingw32 samples
|
|
|
|
# WXDIR = $(WXWIN)
|
|
|
|
include $(WXDIR)/src/makeg95.env
|
|
|
|
all: $(TARGET)$(GUISUFFIX)$(EXESUFF) $(TARGET)_resources.$(OBJSUFF) $(EXTRATARGETS)
|
|
|
|
$(TARGET)$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(TARGET)_resources.$(OBJSUFF) $(WXLIB)
|
|
$(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) *.o
|
|
-$(RM) $(TARGET)_resources.o
|
|
-$(RM) core
|
|
-$(RM) *.rsc
|
|
-$(RM) *.res
|
|
-$(RM) *.exe
|
|
|
|
cleanall: clean
|
|
-$(RM) $(TARGET).exe
|
|
|