mirror of
https://framagit.org/bortzmeyer/echoping
synced 2024-11-05 06:00:37 +00:00
fa09c1a5ca
Plugins now in separate directories.
31 lines
460 B
Makefile
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$
|
|
|
|
|