Move sources into their own directory
This commit is contained in:
8
Makefile
8
Makefile
@@ -14,15 +14,15 @@ LDFLAGS = `pkg-config --libs $(pkgs)`
|
||||
all: $(targets)
|
||||
|
||||
clean:
|
||||
rm -f $(targets) *.o
|
||||
rm -f $(targets) src/*.o
|
||||
|
||||
sdcli: sdcli.o stardict.o
|
||||
sdcli: src/sdcli.o src/stardict.o
|
||||
$(CC) $^ -o $@ $(LDFLAGS)
|
||||
|
||||
add-pronunciation: add-pronunciation.o stardict.o
|
||||
add-pronunciation: src/add-pronunciation.o src/stardict.o
|
||||
$(CC) $^ -o $@ $(LDFLAGS)
|
||||
|
||||
test-stardict: test-stardict.o stardict.o
|
||||
test-stardict: src/test-stardict.o src/stardict.o
|
||||
$(CC) $^ -o $@ $(LDFLAGS)
|
||||
|
||||
test: $(tests)
|
||||
|
||||
Reference in New Issue
Block a user