comparison src/timidity/libtimidity/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 d447ee6c8bc0
comparison
equal deleted inserted replaced
893:ca9907354db6 894:f19e6748d8eb
6 SOURCES = \ 6 SOURCES = \
7 common.c \ 7 common.c \
8 instrum.c \ 8 instrum.c \
9 instrum_dls.c \ 9 instrum_dls.c \
10 mix.c \ 10 mix.c \
11 options.h \
12 output.c \ 11 output.c \
13 playmidi.c \ 12 playmidi.c \
14 readmidi.c \ 13 readmidi.c \
15 resample.c \ 14 resample.c \
16 stream.c \ 15 stream.c \
20 CFLAGS += $(PICFLAGS) -I../../.. 19 CFLAGS += $(PICFLAGS) -I../../..
21 20
22 OBJECTS = ${SOURCES:.c=.o} 21 OBJECTS = ${SOURCES:.c=.o}
23 22
24 include ../../../mk/objective.mk 23 include ../../../mk/objective.mk
25
26 libtimidity.a: $(OBJECTS)
27 $(AR) cq $@ $(OBJECTS)