6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile for cube 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)/cube.$(OBJSUFF)
20 all: $(OBJDIR) cube$(GUISUFFIX)$(EXESUFF)
27 cube$(GUISUFFIX)$(EXESUFF): $(OBJDIR)/cube.$(OBJSUFF) cube.res $(WXLIB)
28 $(CC) $(LDFLAGS) -o cube$(GUISUFFIX)$(EXESUFF) $(OBJDIR)/cube.$(OBJSUFF) $(LDLIBS)
29 $(RSRC) cube.$(RESSUFF) cube.exe
31 $(OBJDIR)/cube.$(OBJSUFF): cube.$(SRCSUFF)
32 $(CC) -c $(CPPFLAGS) -o $@ cube.$(SRCSUFF)
37 rm -f $(OBJECTS) cube$(GUISUFFIX).exe core *.rsc *.res