diff options
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 |