0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-12 13:03:31 +00:00

24 lines
538 B
Diff

--- ../abootimg-v0.6/Makefile 2011-07-14 21:13:25.000000000 +0200
+++ ./Makefile 2022-10-28 21:46:26.988109133 +0200
@@ -1,6 +1,6 @@
-CPPFLAGS=-DHAS_BLKID
-CFLAGS=-O3 -Wall
+CPPFLAGS+=-DHAS_BLKID
+CFLAGS+=-O3 -Wall
LDLIBS=-lblkid
all: abootimg
@@ -16,6 +16,11 @@
abootimg.o: bootimg.h version.h
+install:
+ install -Dm700 abootimg $(DESTDIR)$(PREFIX)/bin/
+ install -Dm700 abootimg-pack-initrd $(DESTDIR)$(PREFIX)/bin/
+ install -Dm700 abootimg-unpack-initrd $(DESTDIR)$(PREFIX)/bin/
+
clean:
rm -f abootimg *.o version.h