blob: 7a937e40b5c05a63a4c4a511929b1eb85c2fdccd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
diff --git a/examples/parts/Makefile b/examples/parts/Makefile
index ba8bac6..0ae95cc 100644
--- a/examples/parts/Makefile
+++ b/examples/parts/Makefile
@@ -51,9 +51,9 @@ endif
install: obj ${target}
$(MKDIR) $(DESTDIR)/include/simavr/parts
$(INSTALL) -m644 *.h $(DESTDIR)/include/simavr/parts/
- $(INSTALL) ${OBJ}/libsimavrparts.a $(DESTDIR)/lib/
- sed -e "s|PREFIX|${PREFIX}|g" -e "s|VERSION|${SIMAVR_VERSION}|g" \
- simavrparts.pc >$(DESTDIR)/lib/pkgconfig/simavrparts.pc
+ $(INSTALL) -Dm644 ${OBJ}/libsimavrparts.a $(DESTDIR)/lib/libsimavrparts.a
+ sed -i -e "s|PREFIX|${PREFIX}|g" -e "s|VERSION|${SIMAVR_VERSION}|g" simavrparts.pc
+ $(INSTALL) -Dm644 simavrparts.pc $(DESTDIR)/lib/pkgconfig/simavrparts.pc
ifeq (${shell uname}, Linux)
$(INSTALL) ${OBJ}/libsimavrparts.so.1 $(DESTDIR)/lib/
ln -sf libsimavrparts.so.1 $(DESTDIR)/lib/libsimavrparts.so
|