Return to Makefile.in CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / libaitsess / src |
version 1.1, 2008/09/30 20:05:20 | version 1.1.2.1, 2008/09/30 20:05:20 |
---|---|
Line 0 | Line 1 |
INC = ../inc | |
LIB = ../lib | |
LDADD = ${LIBS} | |
CFLAGS = -I. -I${INC} -fPIC -Wall -O2 -g -D_DEBUG | |
LDFLAGS = -L. -L${LIB} | |
CC = gcc | |
SRCS = aitsess.c sess.c | |
OBJS = aitsess.o sess.o | |
LIBSO = libaitsess.so | |
all: depend \ | |
${OBJS} \ | |
${LIBSO} | |
depend: | |
mkdep ${CFLAGS} ${SRCS} | |
clean: | |
@rm -f *.o *~ | |
install: | |
.c.o: | |
${CC} -c ${CFLAGS} $< | |
${LIBSO}: | |
${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -Wl,-x,-soname,$@ ${OBJS} ${LDADD} |