update makefile

This commit is contained in:
Vlasta Vesely 2018-05-19 16:51:25 +02:00
parent b70fe07234
commit ae59e9c14f

View file

@ -1,9 +1,10 @@
.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 $@
test: iast