]>
Commit | Line | Data |
---|---|---|
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 | ||
10 | # WXDIR = $(WXWIN) | |
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) | |
17 | $(CC) $(LDFLAGS) -o $(TARGET)$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(TARGET)_resources.$(OBJSUFF) $(LDLIBS) | |
18 | ||
19 | $(TARGET)_resources.o: $(TARGET).rc | |
20 | $(RESCOMP) $(RCINPUTSWITCH) $(TARGET).rc $(RCOUTPUTSWITCH) $(TARGET)_resources.o $(RESFLAGS) | |
21 | ||
22 | clean: | |
23 | -$(RM) *.o | |
24 | -$(RM) $(TARGET)_resources.o | |
25 | -$(RM) core | |
26 | -$(RM) *.rsc | |
27 | -$(RM) *.res | |
28 | -$(RM) *.exe | |
29 | ||
30 | cleanall: clean | |
31 | -$(RM) $(TARGET).exe |