]> git.saurik.com Git - wxWidgets.git/blame - utils/dialoged/src/makefile.g95
Added sys/types.h needed for Solaris.
[wxWidgets.git] / utils / dialoged / src / makefile.g95
CommitLineData
457814b5
JS
1#
2# File: makefile.g95
3# Author: Julian Smart
4# Created: 1996
5# Updated:
6#
7# "%W% %G%"
8#
9# Makefile for Dialog Editor (GNU-WIN32)
10
11WXDIR = ../../..
12
13# All common UNIX compiler flags and options are now in
14# this central makefile.
15include $(WXDIR)/src/makeg95.env
16
03f68f12 17OBJECTS = $(OBJDIR)/dialoged.$(OBJSUFF) $(OBJDIR)/reseditr.$(OBJSUFF)\
457814b5 18 $(OBJDIR)/dlghndlr.$(OBJSUFF) $(OBJDIR)/reswrite.$(OBJSUFF) $(OBJDIR)/winprop.$(OBJSUFF)\
bbcdf8bc 19 $(OBJDIR)/edlist.$(OBJSUFF) $(OBJDIR)/edtree.$(OBJSUFF) $(OBJDIR)/winstyle.$(OBJSUFF) $(OBJDIR)/symbtabl.$(OBJSUFF)\
457814b5
JS
20 $(OBJDIR)/dialoged_resources.$(OBJSUFF)
21
22EXTRAINC = -I../../wxprop/src
23
24LDFLAGS = -Wl,--subsystem,windows -mwindows -L$(WXDIR)/lib -L../../wxprop/lib
25LDLIBS=-lwxprop $(LIBS)
26
27CPPFLAGS = $(XINCLUDE) $(INC) $(OPTIONS) $(GUI) $(DEBUGFLAGS) -DDEBUG='$(DEBUG)' $(WARN) $(OPT) $(EXTRAINC)
28
29all: $(OBJDIR) wxprop dialoged$(GUISUFFIX)$(EXESUFF)
30
31wxprop:
32 cd ../../wxprop/src; $(MAKE) -f makefile.g95
33
34$(OBJDIR):
35 mkdir $(OBJDIR)
36
37dialoged$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
38 $(CC) $(LDFLAGS) -o dialoged$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(XVIEW_LINK) $(LDLIBS)
39
40$(OBJDIR)/dialoged.$(OBJSUFF): dialoged.$(SRCSUFF)
41 $(CC) -c $(CPPFLAGS) -o $@ dialoged.$(SRCSUFF)
42
27529614 43$(OBJDIR)/winprop.$(OBJSUFF): winprop.h reseditr.h winprop.$(SRCSUFF)
457814b5
JS
44 $(CC) -c $(CPPFLAGS) -o $@ winprop.$(SRCSUFF)
45
27529614 46$(OBJDIR)/reswrite.$(OBJSUFF): winprop.h reseditr.h reswrite.$(SRCSUFF)
457814b5
JS
47 $(CC) -c $(CPPFLAGS) -o $@ reswrite.$(SRCSUFF)
48
27529614 49$(OBJDIR)/reseditr.$(OBJSUFF): winprop.h reseditr.h reseditr.$(SRCSUFF)
457814b5
JS
50 $(CC) -c $(CPPFLAGS) -o $@ reseditr.$(SRCSUFF)
51
27529614 52$(OBJDIR)/dlghndlr.$(OBJSUFF): winprop.h reseditr.h dlghndlr.$(SRCSUFF)
457814b5
JS
53 $(CC) -c $(CPPFLAGS) -o $@ dlghndlr.$(SRCSUFF)
54
884360bc
JS
55$(OBJDIR)/edlist.$(OBJSUFF): winprop.h edlist.h edlist.$(SRCSUFF)
56 $(CC) -c $(CPPFLAGS) -o $@ edlist.$(SRCSUFF)
57
58$(OBJDIR)/edtree.$(OBJSUFF): winprop.h edtree.h edtree.$(SRCSUFF)
59 $(CC) -c $(CPPFLAGS) -o $@ edtree.$(SRCSUFF)
60
bbcdf8bc 61$(OBJDIR)/winstyle.$(OBJSUFF): winstyle.h winstyle.$(SRCSUFF)
27529614 62 $(CC) -c $(CPPFLAGS) -o $@ winstyle.$(SRCSUFF)
bbcdf8bc
JS
63
64$(OBJDIR)/symbtabl.$(OBJSUFF): symbtabl.h symbtabl.$(SRCSUFF)
27529614 65 $(CC) -c $(CPPFLAGS) -o $@ symbtabl.$(SRCSUFF)
bbcdf8bc 66
457814b5
JS
67$(OBJDIR)/dialoged_resources.o: dialoged.rc
68 $(RESCOMP) -i dialoged.rc -o $(OBJDIR)/dialoged_resources.o $(RESFLAGS)
69
70clean:
71 rm -f $(OBJECTS) dialoged$(GUISUFFIX).exe core *.rsc *.res