6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile for bombs example (UNIX).
14 # All common UNIX compiler flags and options are now in
15 # this central makefile.
16 include $(WXDIR)/src/makeg95.env
18 OBJECTS = $(OBJDIR)/bombs.$(OBJSUFF) $(OBJDIR)/bombs1.$(OBJSUFF) $(OBJDIR)/game.$(OBJSUFF)\
19 $(OBJDIR)/bombs_resources.$(OBJSUFF)
21 all: $(OBJDIR) bombs$(GUISUFFIX)$(EXESUFF)
28 bombs$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
29 $(CC) $(LDFLAGS) -o bombs$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
31 $(OBJDIR)/bombs.$(OBJSUFF): bombs.$(SRCSUFF)
32 $(CC) -c $(CPPFLAGS) -o $@ bombs.$(SRCSUFF)
34 $(OBJDIR)/bombs1.$(OBJSUFF): bombs1.$(SRCSUFF)
35 $(CC) -c $(CPPFLAGS) -o $@ bombs1.$(SRCSUFF)
37 $(OBJDIR)/game.$(OBJSUFF): game.$(SRCSUFF)
38 $(CC) -c $(CPPFLAGS) -o $@ game.$(SRCSUFF)
40 $(OBJDIR)/bombs_resources.o: bombs.rc
41 $(RESCOMP) -i bombs.rc -o $(OBJDIR)/bombs_resources.o $(RESFLAGS)
44 rm -f $(OBJECTS) bombs$(GUISUFFIX).exe core *.rsc *.res