CLI interface to medialist (fossil mirror)
Revision | ea92ce180aa6e851650c5ef343801ec5c3fe75f9 (tree) |
---|---|
Zeit | 2021-09-20 18:51:53 |
Autor | mio <stigma@disr...> |
Commiter | mio |
Move source files and re-organise Makefile
FossilOrigin-Name: 2867d9ab9fe1e0746940a5480e7d0a890ae713d7e3424aa81362579a5216a4e7
@@ -1,27 +1,26 @@ | ||
1 | 1 | .POSIX: |
2 | 2 | .SUFFIXES: |
3 | 3 | |
4 | -DC = gdc | |
5 | -DFLAGS = -frelease -O -Isrc/ | |
6 | -D_OUTPUTFLAG = "-o " | |
7 | -PREFIX = /usr/local | |
4 | +DC = gdc | |
5 | +DFLAGS = -frelease -O | |
6 | +PREFIX = /usr/local | |
8 | 7 | |
9 | 8 | all: medialist-cli |
10 | 9 | |
11 | -medialist-cli: src/add.o src/configparser.o src/create.o src/del.o src/main.o \ | |
12 | - src/show.o src/update.o src/util.o src/xdg.o | |
13 | - $(DC) "$(D_OUTPUTFLAG)"medialist-cli add.o configparser.o create.o del.o main.o \ | |
14 | - show.o update.o util.o xdg.o | |
15 | - | |
16 | -src/add.o: src/add.d | |
17 | -src/configparser.o: src/configparser.d | |
18 | -src/create.o: src/create.d | |
19 | -src/del.o: src/del.d | |
20 | -src/main.o: src/main.d | |
21 | -src/show.o: src/show.d | |
22 | -src/update.o: src/update.d | |
23 | -src/util.o: src/util.d | |
24 | -src/xdg.o: src/xdg.d | |
10 | +medialist-cli: add.o configparser.o create.o del.o main.o show.o update.o \ | |
11 | + util.o xdg.o | |
12 | + $(DC) -o medialist-cli add.o configparser.o create.o del.o main.o show.o \ | |
13 | + update.o util.o xdg.o | |
14 | + | |
15 | +add.o: add.d | |
16 | +configparser.o: configparser.d | |
17 | +create.o: create.d | |
18 | +del.o: del.d | |
19 | +main.o: main.d | |
20 | +show.o: show.d | |
21 | +update.o: update.d | |
22 | +util.o: util.d | |
23 | +xdg.o: xdg.d | |
25 | 24 | |
26 | 25 | clean: |
27 | 26 | rm -f *.o \ |