From f06a98f0b468601fc1ab929b06a7962cca8614ea Mon Sep 17 00:00:00 2001 From: Michael Meskes Date: Wed, 27 Aug 2008 13:45:17 +0200 Subject: Imported Upstream version 0.1 --- Makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8d8c490 --- /dev/null +++ b/Makefile @@ -0,0 +1,24 @@ +VERSION=0.1 + +DEBUG=-g #-fprofile-arcs -ftest-coverage # -pg -g +CFLAGS+=-Wall -O2 -DVERSION=\"${VERSION}\" $(DEBUG) +LDFLAGS+=-lacpi $(DEBUG) + +OBJS=error.o at.o sched.o emit.o + +all: acpitail + +acpitail: $(OBJS) + $(CC) -Wall -W $(OBJS) $(LDFLAGS) -o acpitail + +install: acpitail + cp acpitail /usr/local/sbin + +clean: + rm -f $(OBJS) acpitail core *.da *.gcov *.bb* + +package: clean + mkdir acpitail-$(VERSION) + cp *.c *.h Makefile readme.txt license.txt acpitail-$(VERSION) + tar czf acpitail-$(VERSION).tgz acpitail-$(VERSION) + rm -rf acpitail-$(VERSION) -- cgit v1.2.3-54-g00ecf