Move sources into their own directory
This commit is contained in:
parent
04ae72158e
commit
febff16ed4
2
.gitignore
vendored
2
.gitignore
vendored
@ -2,6 +2,8 @@
|
||||
*.*~
|
||||
# Compile output
|
||||
/sdcli
|
||||
/add-pronunciation
|
||||
/test-stardict
|
||||
*.o
|
||||
# IDE project files
|
||||
/sdcli.creator*
|
||||
|
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)
|
||||
|
Loading…
Reference in New Issue
Block a user