| 1 | # grabbag - Convenience lib for various routines common to several tools |
| 2 | |
| 3 | # |
| 4 | # GNU makefile |
| 5 | # |
| 6 | |
| 7 | topdir = ../../.. |
| 8 | libdir = $(topdir)/objs/$(BUILD)/lib |
| 9 | |
| 10 | ifeq ($(OS),Darwin) |
| 11 | EXPLICIT_LIBS = $(libdir)/libFLAC.a $(libdir)/libreplaygain_analysis.a $(OGG_EXPLICIT_LIBS) -lm |
| 12 | else |
| 13 | LIBS = -lFLAC -lreplaygain_analysis $(OGG_LIBS) -lm |
| 14 | endif |
| 15 | |
| 16 | LIB_NAME = libgrabbag |
| 17 | INCLUDES = -I$(topdir)/include |
| 18 | |
| 19 | SRCS_C = \ |
| 20 | alloc.c \ |
| 21 | cuesheet.c \ |
| 22 | file.c \ |
| 23 | picture.c \ |
| 24 | replaygain.c \ |
| 25 | seektable.c \ |
| 26 | snprintf.c |
| 27 | |
| 28 | include $(topdir)/build/lib.mk |
| 29 | |
| 30 | # DO NOT DELETE THIS LINE -- make depend depends on it. |