]>
Commit | Line | Data |
---|---|---|
dbda9e86 JS |
1 | # |
2 | # File: makeprog.g95 | |
3 | # Author: Julian Smart | |
4 | # Created: 1999 | |
5 | # Updated: | |
6 | # Copyright: (c) Julian Smart, 1999 | |
7 | # | |
8 | # Include file for Cygwin/Mingw32 samples | |
9 | ||
63aea43f | 10 | # WXDIR = $(WXWIN) |
dbda9e86 JS |
11 | |
12 | include $(WXDIR)/src/makeg95.env | |
13 | ||
14 | all: $(TARGET)$(GUISUFFIX)$(EXESUFF) $(TARGET)_resources.$(OBJSUFF) $(EXTRATARGETS) | |
15 | ||
16 | $(TARGET)$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(TARGET)_resources.$(OBJSUFF) $(WXLIB) | |
78e376b5 | 17 | $(CXX) $(ALL_LDFLAGS) -o $(TARGET)$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(TARGET)_resources.$(OBJSUFF) $(LDLIBS) |
dbda9e86 JS |
18 | |
19 | $(TARGET)_resources.o: $(TARGET).rc | |
20 | $(RESCOMP) $(RCINPUTSWITCH) $(TARGET).rc $(RCOUTPUTSWITCH) $(TARGET)_resources.o $(RESFLAGS) | |
21 | ||
22 | clean: | |
6474416b JS |
23 | -$(RM) *.o |
24 | -$(RM) $(TARGET)_resources.o | |
78e376b5 | 25 | -$(RM) core |
6474416b JS |
26 | -$(RM) *.rsc |
27 | -$(RM) *.res | |
4e4dc03d | 28 | -$(RM) *.exe |
6e6d9f9e VZ |
29 | |
30 | cleanall: clean | |
78e376b5 MB |
31 | -$(RM) $(TARGET).exe |
32 |