]>
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) | |
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: | |
6474416b JS |
23 | -$(RM) *.o |
24 | -$(RM) $(TARGET)_resources.o | |
25 | -$(RM) $(TARGET).exe | |
26 | -$(RM) core | |
27 | -$(RM) *.rsc | |
28 | -$(RM) *.res |