author | kergoth <kergoth> | 2002-11-20 22:14:00 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-11-20 22:14:00 (UTC) |
commit | b0dc62061b6581cb416f01e706610e4cb076935d (patch) (unidiff) | |
tree | e23a8fb81b1110ad2775cb8268105bda26c76d4e | |
parent | a228ef2bab036aabc1036d0ff2c59b42687cf6d5 (diff) | |
download | opie-b0dc62061b6581cb416f01e706610e4cb076935d.zip opie-b0dc62061b6581cb416f01e706610e4cb076935d.tar.gz opie-b0dc62061b6581cb416f01e706610e4cb076935d.tar.bz2 |
Set DESTDIR to /bin rather than ../../bin/
-rw-r--r-- | core/opiealarm/Makefile | 2 |
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,18 +1,18 @@ | |||
1 | 1 | ||
2 | DESTDIR=../../bin | 2 | DESTDIR=$(OPIEDIR)/bin |
3 | 3 | ||
4 | CROSS:=arm-linux- | 4 | CROSS:=arm-linux- |
5 | CC :=$(CROSS)gcc | 5 | CC :=$(CROSS)gcc |
6 | LD :=$(CROSS)gcc | 6 | LD :=$(CROSS)gcc |
7 | STRIP:=$(CROSS)strip | 7 | STRIP:=$(CROSS)strip |
8 | 8 | ||
9 | CFLAGS:=-O2 | 9 | CFLAGS:=-O2 |
10 | LDFLAGS:= | 10 | LDFLAGS:= |
11 | 11 | ||
12 | all: $(DESTDIR)/opiealarm $(DESTDIR)/opieatd | 12 | all: $(DESTDIR)/opiealarm $(DESTDIR)/opieatd |
13 | 13 | ||
14 | $(DESTDIR)/opiealarm: opiealarm.c | 14 | $(DESTDIR)/opiealarm: opiealarm.c |
15 | $(CC) $(CFLAGS) opiealarm.c -o $(DESTDIR)/opiealarm $(LDFLAGS) | 15 | $(CC) $(CFLAGS) opiealarm.c -o $(DESTDIR)/opiealarm $(LDFLAGS) |
16 | $(STRIP) --strip-all $(DESTDIR)/opiealarm | 16 | $(STRIP) --strip-all $(DESTDIR)/opiealarm |
17 | chmod u+s $(DESTDIR)/opiealarm | 17 | chmod u+s $(DESTDIR)/opiealarm |
18 | chown root $(DESTDIR)/opiealarm 2>/dev/null || echo -e "\nopiealarm must be owned by root to work correctly.\n" | 18 | chown root $(DESTDIR)/opiealarm 2>/dev/null || echo -e "\nopiealarm must be owned by root to work correctly.\n" |