summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index b045028..23aebbe 100644
--- a/Makefile
+++ b/Makefile
@@ -1,19 +1,15 @@
-UTILS = opkg-build opkg-unbuild opkg-compare-versions opkg-make-index opkg.py \
- opkg-list-fields arfile.py opkg-buildpackage opkg-diff opkg-extract-file opkg-show-deps \
- opkg-compare-indexes opkg-compare-versions.sh update-alternatives
+UTILS = opkg-build opkg-unbuild opkg-make-index opkg.py opkg-list-fields \
+ arfile.py opkg-buildpackage opkg-diff opkg-extract-file opkg-show-deps \
+ opkg-compare-indexes update-alternatives
DESTDIR=
PREFIX=/usr/local
bindir=$(PREFIX)/bin
-all: opkg-compare-versions
+all:
-opkg-compare-versions: opkg-compare-versions.c
- $(CC) $(CFLAGS) -o opkg-compare-versions opkg-compare-versions.c
-
-install: opkg-compare-versions
+install:
install -d $(DESTDIR)$(bindir)
install -m 755 $(UTILS) $(DESTDIR)$(bindir)
-clean:
- rm -rf opkg-compare-versions
+.PHONY: install all