Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 21 lines (14 sloc) 0.317 kb
7d1e898 moetunes first commit
authored
1 CFLAGS+= -Wall
2 LDADD+= -lX11
3 LDFLAGS=
4 EXEC=power_mon
5
f9a2618 moetunes Added license
authored
6 PREFIX?= /usr/local
7d1e898 moetunes first commit
authored
7 BINDIR?= $(PREFIX)/bin
8
9 CC=gcc
10
11 all: $(EXEC)
12
13 power_mon: power_mon.o
6eb176c moetunes Fine tuning and makefile options
authored
14 $(CC) $(LDFLAGS) -O2 -ffast-math -fno-unit-at-a-time -o $@ $+ $(LDADD)
7d1e898 moetunes first commit
authored
15
16 install: all
17 install -Dm 755 power_mon $(DESTDIR)$(BINDIR)/power_mon
18
19 clean:
20 rm -fv power_mon *.o
Something went wrong with that request. Please try again.