remove "empty download cache" menu entry -- clearing the cache will be in the configu...
[Rockbox.git] / apps / codecs / demac / Makefile
blobe0ed4ad3417c84b28131863fdef13791a5de8efc
1 # $Id:$
3 FILTERS = libdemac/filter_16_11.o libdemac/filter_64_11.o libdemac/filter_256_13.o libdemac/filter_32_10.o libdemac/filter_1280_15.o
4 LIBOBJS = libdemac/parser.o libdemac/decoder.o libdemac/entropy.o libdemac/predictor.o libdemac/crc.o $(FILTERS)
5 OBJS = demac.o wavwrite.o $(LIBOBJS)
7 CFLAGS = -Wall -O3 -Ilibdemac
9 ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN)
10 EXT = .exe
11 CROSS =
12 CFLAGS += -mno-cygwin
13 else
14 ifdef WIN
15 EXT = .exe
16 CROSS = i586-mingw32msvc-
17 else
18 EXT =
19 CROSS =
20 endif
21 endif
23 CC = $(CROSS)gcc
24 STRIP = $(CROSS)strip
25 OUTPUT = demac$(EXT)
27 all: $(OUTPUT)
29 $(OUTPUT): $(OBJS)
30 $(CC) -o $(OUTPUT) $(OBJS)
32 .c.o :
33 $(CC) $(CFLAGS) $(INC) -c -o $@ $<
35 libdemac/filter_16_11.o: libdemac/filter.c
36 libdemac/filter_64_11.o: libdemac/filter.c
37 libdemac/filter_256_13.o: libdemac/filter.c
38 libdemac/filter_1280_15.o: libdemac/filter.c
39 libdemac/filter_32_10.o: libdemac/filter.c
40 libdemac/entropy.o: libdemac/rangecoding.h
42 clean:
43 rm -f $(OUTPUT) $(OBJS) *~ */*~