summaryrefslogtreecommitdiff
path: root/Makefile
blob: 04b0790c9985aa815c5827da3a3afe8f59efff05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CFLAGS=-Wall
LDFLAGS=-lacpi -lcpufreq

BINDIR=$(HOME)/bin

all: statusbar

statusbar: statusbar.c
	@echo "CC $@"
	@$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<

install: statusbar
	@echo "installing $< to $(BINDIR)"
	@install -m 700 -D $< $(BINDIR)/$<

clean:
	@echo "cleaning"
	@rm -f statusbar