2018-04-26 18:49:23 +02:00
|
|
|
.PHONY: main test clean
|
2018-04-25 14:29:11 +02:00
|
|
|
|
2018-04-26 18:49:23 +02:00
|
|
|
OBJS = syllable.o utf8.o transliteration.o iast.o
|
|
|
|
|
|
|
|
|
|
|
|
main: main.o $(OBJS)
|
|
|
|
$(CC) $^ -o $@
|
2018-04-25 14:29:11 +02:00
|
|
|
|
2018-04-27 13:06:21 +02:00
|
|
|
test: main
|
|
|
|
sh test.sh
|
2018-04-26 13:39:53 +02:00
|
|
|
|
2018-04-26 18:49:23 +02:00
|
|
|
%.o: %.c
|
|
|
|
$(CC) -MMD -MP -c $< -o $@
|
|
|
|
|
2018-04-25 14:29:11 +02:00
|
|
|
clean:
|
2018-04-26 18:49:23 +02:00
|
|
|
$(RM) main test *.o *.d
|