]>
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 -f $(OBJECTS) $(TARGET)_resources.o $(TARGET).exe core *.rsc *.res |