blob: 8d8c490bc4eeaf3c578520556a93213a9394443d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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)
|