Subversion Repositories gelsvn

Rev

Rev 138 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 138 Rev 187
Line 15... Line 15...
15
LIB = ${LIBDIR}/libGEL_$(notdir $(shell pwd)).a
15
LIB = ${LIBDIR}/libGEL_$(notdir $(shell pwd)).a
16
 
16
 
17
### Rule for creating the library. 
17
### Rule for creating the library. 
18
${LIB}: ${objects}
18
${LIB}: ${objects}
19
	$(shell if \[ \! -d ${LIBDIR} \] ; then mkdir ${LIBDIR}; fi)
19
	$(shell if \[ \! -d ${LIBDIR} \] ; then mkdir ${LIBDIR}; fi)
20
	${AR} -s ${LIB} $(addprefix ${BUILDDIR}/,$(objects))
20
	${AR} ${LIB} $(addprefix ${BUILDDIR}/,$(objects))
21
 
21
 
22
lib: ${LIB}
22
lib: ${LIB}