aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2013-05-08 20:54:06 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2013-05-08 20:54:06 +0200
commitfebff16ed4736c9fcb4dc65c04f0260dc2fe2b33 (patch)
tree9cb6badd8708d91df935223909f94d0f5f8dd77f
parent04ae72158e8bb0bd11553eacece6901714c9d455 (diff)
downloadtdv-febff16ed4736c9fcb4dc65c04f0260dc2fe2b33.tar.gz
tdv-febff16ed4736c9fcb4dc65c04f0260dc2fe2b33.tar.xz
tdv-febff16ed4736c9fcb4dc65c04f0260dc2fe2b33.zip
Move sources into their own directory
-rw-r--r--.gitignore2
-rw-r--r--Makefile8
-rw-r--r--src/add-pronunciation.c (renamed from add-pronunciation.c)0
-rw-r--r--src/sdcli.c (renamed from sdcli.c)0
-rw-r--r--src/stardict.c (renamed from stardict.c)0
-rw-r--r--src/stardict.h (renamed from stardict.h)0
-rw-r--r--src/test-stardict.c (renamed from test-stardict.c)0
7 files changed, 6 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index fee94d8..f4d000c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,8 @@
*.*~
# Compile output
/sdcli
+/add-pronunciation
+/test-stardict
*.o
# IDE project files
/sdcli.creator*
diff --git a/Makefile b/Makefile
index 41e69c1..ce20ed3 100644
--- a/Makefile
+++ b/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)
diff --git a/add-pronunciation.c b/src/add-pronunciation.c
index 45eae61..45eae61 100644
--- a/add-pronunciation.c
+++ b/src/add-pronunciation.c
diff --git a/sdcli.c b/src/sdcli.c
index 8a8f4ca..8a8f4ca 100644
--- a/sdcli.c
+++ b/src/sdcli.c
diff --git a/stardict.c b/src/stardict.c
index 4439022..4439022 100644
--- a/stardict.c
+++ b/src/stardict.c
diff --git a/stardict.h b/src/stardict.h
index aef27fd..aef27fd 100644
--- a/stardict.h
+++ b/src/stardict.h
diff --git a/test-stardict.c b/src/test-stardict.c
index 8f7f798..8f7f798 100644
--- a/test-stardict.c
+++ b/src/test-stardict.c