view src/modplug/archive/Makefile @ 894:f19e6748d8eb trunk

[svn] maintenance of build system: - link for OBJECTIVE_LIBS had not occurred even if OBJECTIVE_LIBS_NOINST was re-linked. LIBDEP macro is introduced to indicate dependency. - make rules such as $(AR) cq $@ $(OBJECTS) in individual Makefile have been removed. these linkage will be done through objective.mk. - *.h has been removed from SOURCES. these files had been passed to linker as object files.
author yaz
date Sat, 24 Mar 2007 09:08:58 -0700
parents 550c9e382cf8
children 499656950801
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