summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show 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