summaryrefslogtreecommitdiff
Side-by-side diff
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 @@
-
-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
+