You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
echoping/SRC/plugins/Makefile.plugins.in

37 lines
555 B
Makefile

CCFLAGS=-DHAVE_CONFIG_H -Wall -O0 -g
CCDYNAMICFLAGS=${CCFLAGS} -fPIC
ifeq ("${LDFLAGS}","")
LDFLAGS=
endif
LDDYNAMICFLAGS=${LDFLAGS} -shared
# Autoconf variables
prefix = @prefix@
exec_prefix = @exec_prefix@
DESTDIR=@plugins_dir@
MANDIR=@mandir@
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$
## Local Variables: ##
## mode:makefile ##
## End: ##