summaryrefslogtreecommitdiff
path: root/core
authormickeyl <mickeyl>2004-04-23 21:28:08 (UTC)
committer mickeyl <mickeyl>2004-04-23 21:28:08 (UTC)
commit24c318a1650bf6f42278219d3cd377013c559a56 (patch) (side-by-side diff)
treeeeefa1f61e7274106cb105839f57545f55da1dff /core
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 (limited to 'core') (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 @@
-
-DESTDIR=$(OPIEDIR)/bin
-
-CROSS:=arm-linux-
-CC :=$(CROSS)gcc
-LD :=$(CROSS)gcc
-STRIP:=$(CROSS)strip
-
-CFLAGS:=-O2
-LDFLAGS:=
-
-all: $(DESTDIR)/opiealarm
-
-$(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"
-
-clean:
- -rm -f *~ core
-
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 @@
+TEMPLATE=app
+CONFIG=console
+SOURCES=opiealarm.c
+