Move sources into their own directory

This commit is contained in:
Přemysl Eric Janouch 2013-05-08 20:54:06 +02:00
parent 04ae72158e
commit febff16ed4
7 changed files with 6 additions and 4 deletions

2
.gitignore vendored
View File

@ -2,6 +2,8 @@
*.*~
# Compile output
/sdcli
/add-pronunciation
/test-stardict
*.o
# IDE project files
/sdcli.creator*

View File

@ -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)