Ignore:
Timestamp:
1999-01-12T14:51:06+13:00 (25 years ago)
Author:
rjmcnab
Message:

Standard header.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/lib/Makefile

    r100 r112  
    11###########################################################################
    22#
    3 # Makefile.in -- Makefile for general C++ libraries
     3# Makefile -- Makefile for general C++ libraries
    44# Copyright (C) 1999  The New Zealand Digital Library Project
    55#
     
    1111AR = ar
    1212CC = gcc
    13 CCFLAGS =
    14 DEFS = -g
     13CCFLAGS = -g -Wall
     14DEFS =
     15INCLUDES = -I../packages/mg-1.3d/lib
    1516RANLIB = ranlib
    16 INCLUDES = -I../packages/mg-1.3d/lib
    1717
    1818 
    19 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CCFLAGS)
     19COMPILE = $(CC) -c $(CCFLAGS) $(DEFS) $(INCLUDES)
    2020 
    2121.SUFFIXES:
     
    2929 
    3030
    31 HEADERS = text_h.h display.h cfgread.h fileutil.h gsdlunicode.h
     31HEADERS = \
     32  cfgread.h      fileutil.h     gsdlunicode.h  text_t.h \
     33  display.h      gsdlconf.h     site.h
    3234
    33 SOURCES = text_t.cpp display.cpp cfgread.cpp fileutil.cpp gsdlunicode.cpp
    3435
    35 OBJECTS = text_t.o display.o cfgread.o fileutil.o gsdlunicode.o
     36SOURCES = \
     37  cfgread.cpp      fileutil.cpp     text_t.cpp \
     38  display.cpp      gsdlunicode.cpp
     39
     40OBJECTS = \
     41  cfgread.o        fileutil.o       text_t.o   \
     42  display.o        gsdlunicode.o 
     43
    3644 
    3745all: gsdllib.a
    3846
    39 gsdllib.a: $(OBJECTS)
     47
     48GSDLLIBOBJECTS = text_t.o display.o cfgread.o fileutil.o gsdlunicode.o
     49
     50gsdllib.a: $(GSDLLIBOBJECTS)
    4051    rm -f gsdllib.a
    41     $(AR) cru gsdllib.a $(OBJECTS)
     52    $(AR) cru gsdllib.a $(GSDLLIBOBJECTS)
    4253    $(RANLIB) gsdllib.a
    4354
Note: See TracChangeset for help on using the changeset viewer.