Move sources into their own directory
This commit is contained in:
parent
04ae72158e
commit
febff16ed4
|
@ -2,6 +2,8 @@
|
||||||
*.*~
|
*.*~
|
||||||
# Compile output
|
# Compile output
|
||||||
/sdcli
|
/sdcli
|
||||||
|
/add-pronunciation
|
||||||
|
/test-stardict
|
||||||
*.o
|
*.o
|
||||||
# IDE project files
|
# IDE project files
|
||||||
/sdcli.creator*
|
/sdcli.creator*
|
||||||
|
|
8
Makefile
8
Makefile
|
@ -14,15 +14,15 @@ LDFLAGS = `pkg-config --libs $(pkgs)`
|
||||||
all: $(targets)
|
all: $(targets)
|
||||||
|
|
||||||
clean:
|
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)
|
$(CC) $^ -o $@ $(LDFLAGS)
|
||||||
|
|
||||||
add-pronunciation: add-pronunciation.o stardict.o
|
add-pronunciation: src/add-pronunciation.o src/stardict.o
|
||||||
$(CC) $^ -o $@ $(LDFLAGS)
|
$(CC) $^ -o $@ $(LDFLAGS)
|
||||||
|
|
||||||
test-stardict: test-stardict.o stardict.o
|
test-stardict: src/test-stardict.o src/stardict.o
|
||||||
$(CC) $^ -o $@ $(LDFLAGS)
|
$(CC) $^ -o $@ $(LDFLAGS)
|
||||||
|
|
||||||
test: $(tests)
|
test: $(tests)
|
||||||
|
|
Loading…
Reference in New Issue