aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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