Mercurial > libpostproc.hg
view Makefile @ 30:13d2cfd2d0e1 libpostproc
Move CFLAGS handling to common.mak.
author | diego |
---|---|
date | Wed, 11 Oct 2006 08:30:13 +0000 |
parents | 1f8ffb72a5e3 |
children | b5cf29aef709 |
line wrap: on
line source
include ../config.mak # Overload incdir, postproc include files go in a different directory. incdir=$(prefix)/include/postproc NAME=postproc ifeq ($(BUILD_SHARED),yes) LIBVERSION=$(SPPVERSION) LIBMAJOR=$(SPPMAJOR) endif STATIC_OBJS=postprocess.o SHARED_OBJS=postprocess_pic.o HEADERS = postprocess.h include $(SRC_PATH)/common.mak depend: postprocess.c postprocess_pic.o: postprocess.c $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $<