view src/modplug/archive/Makefile @ 870:028350cb60b1 trunk

[svn] - in C++, using __null/NULL is improper. 0 should be used instead. - guard against double-deletes
author nenolod
date Fri, 16 Mar 2007 21:13:22 -0700
parents 550c9e382cf8
children f19e6748d8eb
line wrap: on
line source

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

CXXFLAGS += $(PICFLAGS) -I../../.. $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(AUDACIOUS_CFLAGS)

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)