diff --git a/Makefile b/Makefile index 55c912c..4082546 100644 --- a/Makefile +++ b/Makefile @@ -4,8 +4,8 @@ libandroid-shmem.so: shmem.c shm.h $(CC) $(CFLAGS) $(LDFLAGS) shmem.c -llog -o $@ install: libandroid-shmem.so shm.h - cp libandroid-shmem.so $(PREFIX)/lib/libandroid-shmem.so - cp shm.h $(PREFIX)/include/sys/shm.h + install -D libandroid-shmem.so $(PREFIX)/lib/libandroid-shmem.so + install -D shm.h $(PREFIX)/include/sys/shm.h clean: rm -f libandroid-shmem.so