vdr-plugin-streamdev/libdvbmpeg/Makefile

26 lines
467 B
Makefile
Raw Normal View History

2010-12-02 08:53:01 +01:00
INCS = -I.
CFLAGS = -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fPIC
MFLAG = -M
2010-12-02 09:43:13 +01:00
OBJS = ctools.o ringbuffy.o remux.o transform.o
2010-12-02 08:53:01 +01:00
SRC = $(wildcard *.c)
DESTDIR = /usr/local
2010-12-02 09:43:13 +01:00
.PHONY: clean
2010-12-02 08:53:01 +01:00
clean:
- rm -f *.o *~ *.a .depend
libdvbmpegtools.a: $(OBJS)
ar -rcs libdvbmpegtools.a $(OBJS)
%.o: %.c
$(CC) -c $(CFLAGS) $(INCS) $(DEFINES) $<
.depend:
2010-12-02 09:43:13 +01:00
$(CXX) $(DEFINES) $(MFLAG) $(SRC) $(INCS)> .depend
2010-12-02 08:53:01 +01:00
-include .depend