summaryrefslogtreecommitdiff
authorkergoth <kergoth>2002-11-20 22:14:00 (UTC)
committer kergoth <kergoth>2002-11-20 22:14:00 (UTC)
commitb0dc62061b6581cb416f01e706610e4cb076935d (patch) (side-by-side diff)
treee23a8fb81b1110ad2775cb8268105bda26c76d4e
parenta228ef2bab036aabc1036d0ff2c59b42687cf6d5 (diff)
downloadopie-b0dc62061b6581cb416f01e706610e4cb076935d.zip
opie-b0dc62061b6581cb416f01e706610e4cb076935d.tar.gz
opie-b0dc62061b6581cb416f01e706610e4cb076935d.tar.bz2
Set DESTDIR to /bin rather than ../../bin/
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/opiealarm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/opiealarm/Makefile b/core/opiealarm/Makefile
index f20d451..03e6957 100644
--- a/core/opiealarm/Makefile
+++ b/core/opiealarm/Makefile
@@ -1,26 +1,26 @@
-DESTDIR=../../bin
+DESTDIR=$(OPIEDIR)/bin
CROSS:=arm-linux-
CC :=$(CROSS)gcc
LD :=$(CROSS)gcc
STRIP:=$(CROSS)strip
CFLAGS:=-O2
LDFLAGS:=
all: $(DESTDIR)/opiealarm $(DESTDIR)/opieatd
$(DESTDIR)/opiealarm: opiealarm.c
$(CC) $(CFLAGS) opiealarm.c -o $(DESTDIR)/opiealarm $(LDFLAGS)
$(STRIP) --strip-all $(DESTDIR)/opiealarm
chmod u+s $(DESTDIR)/opiealarm
chown root $(DESTDIR)/opiealarm 2>/dev/null || echo -e "\nopiealarm must be owned by root to work correctly.\n"
$(DESTDIR)/opieatd: opieatd
cp opieatd $(DESTDIR)/opieatd
chmod +x $(DESTDIR)/opieatd
clean:
-rm -f *~ core