echoping/SRC/plugins/Makefile.plugins.in
Stephane Bortzmeyer fa09c1a5ca WARNING: quite broken
Plugins now in separate directories.
2004-04-09 13:05:16 +00:00

31 lines
460 B
Makefile

CCFLAGS=-DHAVE_CONFIG_H -Wall -O0 -g
CCDYNAMICFLAGS=${CCFLAGS} -fPIC
LDFLAGS=
LDDYNAMICFLAGS=${LDFLAGS} -shared
# Autoconf variables
prefix = @prefix@
exec_prefix = @exec_prefix@
DESTDIR=@libdir@/echoping
INSTALL=@INSTALL@
%.o: %.c
${CC} ${CCDYNAMICFLAGS} -c -o $@ $<
%.so: %.o
${CC} ${LDDYNAMICFLAGS} -o $@ $<
prepare-install:
@if [ ! -d ${DESTDIR} ]; then \
mkdir ${DESTDIR}; \
fi
clean:
-rm -f *.o *.so
distclean: clean
-rm -f *~
# $Id$