diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2007-09-17 21:52:09 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@xenon.tklauser.home> | 2007-09-17 21:52:09 +0200 |
commit | 545c8310cb216c39d9bb9262167387d448863132 (patch) | |
tree | 765dcfd9cdbd488eb81ab7a1198ebc819eb5f0d2 /Makefile | |
parent | 44a84f6d0984fe5fca1fb7d52bff68763fda86c5 (diff) |
Print uptime in statusbar
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -1,7 +1,19 @@ CFLAGS=-Wall LDFLAGS=-lacpi -lcpufreq +BINDIR=$(HOME)/bin + all: statusbar statusbar: statusbar.c - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< + @echo "CC $@" + @$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< + @echo "strip $@" + +install: statusbar + @echo "installing $< to $(BINDIR)" + @install -m 700 -D $< $(BINDIR)/$< + +clean: + @echo "cleaning" + @rm -f statusbar |