s2dblocks

[archived] statusbar blocks for dwm
git clone https://hhvn.uk/s2dblocks
git clone git://hhvn.uk/s2dblocks
Log | Files | Refs

Makefile (383B)


      1 OBJ	= status2d.o
      2 BINS	= bat cpu date df mem time vol
      3 
      4 include config.mk
      5 
      6 all: $(BINS)
      7 $(BINS): $(OBJ) status2d.h
      8 
      9 .c:
     10 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(OBJ)
     11 
     12 clean:
     13 	rm -f $(OBJ) $(BINS)
     14 
     15 install:
     16 	for f in $(BINS); do \
     17 		install -m0755 $$f ~/.scripts/dwmbar/$$f; \
     18 	done
     19 
     20 uninstall:
     21 	for f in $(BINS); do \
     22 		rm ~/.scripts/dwmbar/$$f; \
     23 	done
     24 
     25 .PHONY: clean install uninstall