view src/modplug/archive/Makefile @ 43:3e9c308cea60 trunk

[svn] Added some missing targets for the .a files
author js
date Wed, 20 Sep 2006 08:25:46 -0700
parents eab0c4241348
children 88465b96e4b3
line wrap: on
line source

include ../../../mk/rules.mk
include ../../../mk/init.mk

CXXFLAGS += $(PICFLAGS) -I../../..

OBJECTIVE_LIBS_NOINST = libarchive.a

SOURCES = archive.cxx     \
          open.cxx        \
          arch_raw.cxx    \
          arch_gzip.cxx   \
          arch_zip.cxx    \
          arch_rar.cxx    \
          arch_bz2.cxx

OBJECTS = ${SOURCES:.cxx=.o}

include ../../../mk/objective.mk

libarchive.a: $(OBJECTS)
	$(AR) cq $@ $(OBJECTS)