summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2004-04-23 21:28:08 (UTC)
committer mickeyl <mickeyl>2004-04-23 21:28:08 (UTC)
commit24c318a1650bf6f42278219d3cd377013c559a56 (patch) (unidiff)
treeeeefa1f61e7274106cb105839f57545f55da1dff
parentf17789d3d91438a766910894eecde075b5e0018f (diff)
downloadopie-24c318a1650bf6f42278219d3cd377013c559a56.zip
opie-24c318a1650bf6f42278219d3cd377013c559a56.tar.gz
opie-24c318a1650bf6f42278219d3cd377013c559a56.tar.bz2
use a .pro file instead of a hardcoded Makefile
btw., is that thing still in use? on which platforms?
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/opiealarm/Makefile22
-rw-r--r--core/opiealarm/opiealarm.pro4
2 files changed, 4 insertions, 22 deletions
diff --git a/core/opiealarm/Makefile b/core/opiealarm/Makefile
deleted file mode 100644
index 255083d..0000000
--- a/core/opiealarm/Makefile
+++ b/dev/null
@@ -1,22 +0,0 @@
1
2DESTDIR=$(OPIEDIR)/bin
3
4CROSS:=arm-linux-
5CC :=$(CROSS)gcc
6LD :=$(CROSS)gcc
7STRIP:=$(CROSS)strip
8
9CFLAGS:=-O2
10LDFLAGS:=
11
12all: $(DESTDIR)/opiealarm
13
14$(DESTDIR)/opiealarm: opiealarm.c
15 $(CC) $(CFLAGS) opiealarm.c -o $(DESTDIR)/opiealarm $(LDFLAGS)
16 $(STRIP) --strip-all $(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"
19
20clean:
21 -rm -f *~ core
22
diff --git a/core/opiealarm/opiealarm.pro b/core/opiealarm/opiealarm.pro
new file mode 100644
index 0000000..6125b19
--- a/dev/null
+++ b/core/opiealarm/opiealarm.pro
@@ -0,0 +1,4 @@
1TEMPLATE=app
2CONFIG=console
3SOURCES=opiealarm.c
4