]>
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: | |
6a570331 RR |
23 | erase *.o |
24 | erase $(TARGET)_resources.o | |
25 | erase $(TARGET).exe | |
26 | erase core | |
27 | erase *.rsc | |
28 | erase *.res |