новые иконки в OpenBoard
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
OpenBoard/thirdparty/xpdf/xpdf-3.02/goo/Makefile

71 lines
1.5 KiB

#========================================================================
#
# Goo library Makefile
#
# Copyright 1996-2003 Glyph & Cog, LLC
#
#========================================================================
SHELL = /bin/sh
srcdir = .
CFLAGS = -g -O2 -DHAVE_CONFIG_H -I.. -I$(srcdir)
CXXFLAGS = -g -O2 -DHAVE_CONFIG_H -I.. -I$(srcdir)
CC = gcc
CXX = g++
AR = ar rc
RANLIB = ranlib
LIBPREFIX = lib
#------------------------------------------------------------------------
.SUFFIXES: .cc
.cc.o:
$(CXX) $(CXXFLAGS) -c $<
#------------------------------------------------------------------------
CXX_SRC = \
$(srcdir)/GHash.cc \
$(srcdir)/GList.cc \
$(srcdir)/GString.cc \
$(srcdir)/gmem.cc \
$(srcdir)/gmempp.cc \
$(srcdir)/gfile.cc \
$(srcdir)/FixedPoint.cc
C_SRC = \
$(srcdir)/parseargs.c
#------------------------------------------------------------------------
all: $(LIBPREFIX)Goo.a
#------------------------------------------------------------------------
GOO_CXX_OBJS = GHash.o GList.o GString.o gmem.o gmempp.o gfile.o FixedPoint.o
GOO_C_OBJS = parseargs.o
GOO_OBJS = $(GOO_CXX_OBJS) $(GOO_C_OBJS)
$(LIBPREFIX)Goo.a: $(GOO_OBJS)
rm -f $(LIBPREFIX)Goo.a
$(AR) $(LIBPREFIX)Goo.a $(GOO_OBJS)
$(RANLIB) $(LIBPREFIX)Goo.a
#------------------------------------------------------------------------
clean:
rm -f $(GOO_OBJS) $(LIBPREFIX)Goo.a
#------------------------------------------------------------------------
depend:
$(CXX) $(CXXFLAGS) -MM $(CXX_SRC) >Makefile.dep
$(CC) $(CFLAGS) -MM $(C_SRC) >>Makefile.dep
include Makefile.dep