update makefile
This commit is contained in:
parent
b70fe07234
commit
ae59e9c14f
1 changed files with 3 additions and 2 deletions
5
Makefile
5
Makefile
|
@ -1,9 +1,10 @@
|
||||||
.PHONY: main test install uninstall clean
|
.PHONY: main test install uninstall clean
|
||||||
|
|
||||||
OBJS = syllable.o utf8.o transliteration.o iast.o iast-czech.o encoder.o
|
SRCFILES := $(shell find . -type f -name "*.c")
|
||||||
|
OBJFILES := $(patsubst %.c, %.o, $(SRCFILES))
|
||||||
|
|
||||||
|
|
||||||
iast: main.o $(OBJS)
|
iast: main.o $(OBJFILES)
|
||||||
$(CC) $^ -o $@
|
$(CC) $^ -o $@
|
||||||
|
|
||||||
test: iast
|
test: iast
|
||||||
|
|
Loading…
Add table
Reference in a new issue