1
0
Fork 0
mirror of git://git.psyc.eu/libpsyc synced 2024-08-15 03:19:02 +00:00
libpsyc/lib/Makefile
2020-01-28 21:42:57 +00:00

22 lines
305 B
Makefile

MACHINE := $(shell uname -m)
ifeq ($(MACHINE), x86_64)
libdir = ${PREFIX}/lib64
endif
ifeq ($(MACHINE), i686)
libdir = ${PREFIX}/lib
endif
INSTALL = install
LIBS = libpsyc.a libpsyc.so
install: ${LIBS}
libdir:
${INSTALL} -d ${libdir}
${LIBS}: libdir
-${INSTALL} $@ ${libdir}
clean:
rm -f ${LIBS}