author | sandman <sandman> | 2002-05-31 03:55:42 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-05-31 03:55:42 (UTC) |
commit | bf13813d8c277a0bb9baf121e1a6ddbaa1e1dd8e (patch) (unidiff) | |
tree | 1d60d5ebc7447340a629bae6344995106921f0e8 /core/opiealarm/Makefile | |
parent | 460454a3a117afafde6094da6a4e12625f880908 (diff) | |
download | opie-bf13813d8c277a0bb9baf121e1a6ddbaa1e1dd8e.zip opie-bf13813d8c277a0bb9baf121e1a6ddbaa1e1dd8e.tar.gz opie-bf13813d8c277a0bb9baf121e1a6ddbaa1e1dd8e.tar.bz2 |
Initial check in of opiealarm/opieatd
This is a (tiny) replacement for ipaqalarm/qpe2uschedule/uscheduled
Made w2k-ppp only claim the needed files (not the whole etc dir)
-rw-r--r-- | core/opiealarm/Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/core/opiealarm/Makefile b/core/opiealarm/Makefile new file mode 100644 index 0000000..e988abf --- a/dev/null +++ b/core/opiealarm/Makefile | |||
@@ -0,0 +1,26 @@ | |||
1 | |||
2 | DESTDIR=../../bin | ||
3 | |||
4 | CROSS:=arm-linux- | ||
5 | CC :=$(CROSS)gcc | ||
6 | LD :=$(CROSS)gcc | ||
7 | STRIP:=$(CROSS)strip | ||
8 | |||
9 | CFLAGS:=-O2 | ||
10 | LDFLAGS:= | ||
11 | |||
12 | all: $(DESTDIR)/opiealarm $(DESTDIR)/opieatd | ||
13 | |||
14 | $(DESTDIR)/opiealarm: opiealarm.c | ||
15 | $(CC) $(CFLAGS) opiealarm.c -o $(DESTDIR)/opiealarm $(LDFLAGS) | ||
16 | $(STRIP) -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" | ||
19 | |||
20 | $(DESTDIR)/opieatd: opieatd | ||
21 | cp opieatd $(DESTDIR)/opieatd | ||
22 | chmod +x $(DESTDIR)/opieatd | ||
23 | |||
24 | clean: | ||
25 | -rm -f *~ core | ||
26 | |||