sanskrit-iast/Makefile
2018-04-27 10:47:41 +02:00

18 lines
239 B
Makefile

.PHONY: main test clean
OBJS = syllable.o utf8.o transliteration.o iast.o
main: main.o $(OBJS)
$(CC) $^ -o $@
./main
test: test.o $(OBJS)
$(CC) $^ -o $@
./test
%.o: %.c
$(CC) -MMD -MP -c $< -o $@
clean:
$(RM) main test *.o *.d