Ignore:
Timestamp:
2008-05-19T15:54:46+12:00 (16 years ago)
Author:
mdewsnip
Message:

More tidy ups to all the Makefiles, this time to tidy up the targets and add comments about the default target.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/src/recpt/Makefile.in

    r15577 r15579  
    194194
    195195
     196# Default target: make both gsdlrecpt.a and the library executable
     197all: $(LIBRARY) $(EXECUTABLE)
     198
    196199gsdlrecpt.a: $(OBJECTS)
    197     rm -f gsdlrecpt.a
    198     $(AR) cru gsdlrecpt.a $(OBJECTS)
    199     $(RANLIB) gsdlrecpt.a
     200    rm -f $(LIBRARY)
     201    $(AR) cru $(LIBRARY) $(OBJECTS)
     202    $(RANLIB) $(LIBRARY)
    200203
    201204library: $(EXECUTABLE_OBJECTS)
    202205    $(CXXLINK) $(EXECUTABLE_OBJECTS) $(LIBS)
    203206
    204 all: $(LIBRARY) $(EXECUTABLE)
    205 
    206207install: $(EXECUTABLE)
    207208    $(INSTALL) -m 755 -s $(EXECUTABLE) $(GSDL_DIR)/cgi-bin
    208209
    209210clean:
    210     rm -f $(OBJECTS) $(EXECUTABLE)
     211    rm -f $(OBJECTS) $(LIBRARY) $(EXECUTABLE)
    211212
    212213distclean:
    213     rm -f $(OBJECTS) $(EXECUTABLE) Makefile
     214    rm -f $(OBJECTS) $(LIBRARY) $(EXECUTABLE) Makefile
    214215
    215216depend:
Note: See TracChangeset for help on using the changeset viewer.