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

23 lines
305 B
Makefile
Raw Permalink Normal View History

2020-01-28 21:39:16 +00:00
MACHINE := $(shell uname -m)
ifeq ($(MACHINE), x86_64)
libdir = ${PREFIX}/lib64
endif
ifeq ($(MACHINE), i686)
1984-04-04 00:44:06 +00:00
libdir = ${PREFIX}/lib
2020-01-28 21:39:16 +00:00
endif
2011-05-09 00:27:12 +00:00
INSTALL = install
2011-06-12 19:04:11 +00:00
LIBS = libpsyc.a libpsyc.so
2011-05-09 00:27:12 +00:00
install: ${LIBS}
libdir:
${INSTALL} -d ${libdir}
${LIBS}: libdir
2011-06-12 19:04:11 +00:00
-${INSTALL} $@ ${libdir}
2011-05-10 14:54:40 +00:00
clean:
rm -f ${LIBS}