6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile for layout 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)/layout.$(OBJSUFF) $(OBJDIR)/layout_resources.o
20 all: $(OBJDIR) layout.exe
25 layout.exe: $(OBJECTS) $(WXLIB)
26 $(CC) $(LDFLAGS) -o layout$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
28 $(OBJDIR)/layout.$(OBJSUFF): layout.$(SRCSUFF) layout.h
29 $(CC) -c $(CPPFLAGS) -o $@ layout.$(SRCSUFF)
31 $(OBJDIR)/layout_resources.o: layout.rc
32 $(RESCOMP) -i layout.rc -o $(OBJDIR)/layout_resources.o $(RESFLAGS)
35 rm -f $(OBJECTS) layout$(GUISUFFIX).exe core *.res *.rsc