9 # Makefile for Dialog Editor (GNU-WIN32)
13 # All common UNIX compiler flags and options are now in
14 # this central makefile.
15 include $(WXDIR)/src/makeg95.env
17 OBJECTS = $(OBJDIR)/dialoged.$(OBJSUFF) $(OBJDIR)/reseditr.$(OBJSUFF)\
18 $(OBJDIR)/dlghndlr.$(OBJSUFF) $(OBJDIR)/reswrite.$(OBJSUFF) $(OBJDIR)/winprop.$(OBJSUFF)\
19 $(OBJDIR)/edlist.$(OBJSUFF) $(OBJDIR)/edtree.$(OBJSUFF) $(OBJDIR)/winstyle.$(OBJSUFF) $(OBJDIR)/symbtabl.$(OBJSUFF)\
20 $(OBJDIR)/dialoged_resources.$(OBJSUFF)
22 all: $(OBJDIR) dialoged$(GUISUFFIX)$(EXESUFF)
27 dialoged$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
28 $(CC) $(LDFLAGS) -o dialoged$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(XVIEW_LINK) $(LDLIBS)
30 $(OBJDIR)/dialoged.$(OBJSUFF): dialoged.$(SRCSUFF)
31 $(CC) -c $(CPPFLAGS) -o $@ dialoged.$(SRCSUFF)
33 $(OBJDIR)/winprop.$(OBJSUFF): winprop.h reseditr.h winprop.$(SRCSUFF)
34 $(CC) -c $(CPPFLAGS) -o $@ winprop.$(SRCSUFF)
36 $(OBJDIR)/reswrite.$(OBJSUFF): winprop.h reseditr.h reswrite.$(SRCSUFF)
37 $(CC) -c $(CPPFLAGS) -o $@ reswrite.$(SRCSUFF)
39 $(OBJDIR)/reseditr.$(OBJSUFF): winprop.h reseditr.h reseditr.$(SRCSUFF)
40 $(CC) -c $(CPPFLAGS) -o $@ reseditr.$(SRCSUFF)
42 $(OBJDIR)/dlghndlr.$(OBJSUFF): winprop.h reseditr.h dlghndlr.$(SRCSUFF)
43 $(CC) -c $(CPPFLAGS) -o $@ dlghndlr.$(SRCSUFF)
45 $(OBJDIR)/edlist.$(OBJSUFF): winprop.h edlist.h edlist.$(SRCSUFF)
46 $(CC) -c $(CPPFLAGS) -o $@ edlist.$(SRCSUFF)
48 $(OBJDIR)/edtree.$(OBJSUFF): winprop.h edtree.h edtree.$(SRCSUFF)
49 $(CC) -c $(CPPFLAGS) -o $@ edtree.$(SRCSUFF)
51 $(OBJDIR)/winstyle.$(OBJSUFF): winstyle.h winstyle.$(SRCSUFF)
52 $(CC) -c $(CPPFLAGS) -o $@ winstyle.$(SRCSUFF)
54 $(OBJDIR)/symbtabl.$(OBJSUFF): symbtabl.h symbtabl.$(SRCSUFF)
55 $(CC) -c $(CPPFLAGS) -o $@ symbtabl.$(SRCSUFF)
57 $(OBJDIR)/dialoged_resources.o: dialoged.rc
58 $(RESCOMP) -i dialoged.rc -o $(OBJDIR)/dialoged_resources.o $(RESFLAGS)
61 rm -f $(OBJECTS) dialoged$(GUISUFFIX).exe core *.rsc *.res