blob: 09a9f745329e8452641fb68af9b0019c2bbe90ec (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
CFLAGS = -I . -g
LDLIBS = -lcurses -lreadline -lmpdclient
.PHONY: all tmus clean install uninstall
all: tmus
clean:
rm tmus
%.o: %.c %.h
$(CC) -c -o $@ $< $(CFLAGS) $(LDLIBS)
tmus: main.c util.o history.o link.o player.o tag.o track.o listnav.o
$(CC) -o $@ $^ $(CFLAGS) $(LDLIBS)
install:
install -m 755 tmus /usr/bin
uninstall:
rm /usr/bin/tmus
|