blob: 08cc8bcf8da2aad37f8ce283918b201bd3567648 (
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 list.o player.o tag.o track.o listnav.o ref.o
$(CC) -o $@ $^ $(CFLAGS) $(LDLIBS)
install:
install -m 755 tmus /usr/bin
uninstall:
rm /usr/bin/tmus
|