# Makfile for translit contributed by Dominik Wujastyk # Modified to provide UNIX compilation and commented by # Jan Labanowski # Read comments in the Makefile and modify it to suit your needs # When modifying, remember that you need to start all dependencies lines # (lines which have colon ":" in them) from the first column, and # lines below them have to start with a TAB character. # # Before you can make translit, you need to modify path.h file. # CC=cc OBJS=translit.o reg_exp.o reg_sub.o translit: $(OBJS) $(CC) -O -o translit $(OBJS) # line has initial tab # Dependencies translit.o : translit.c paths.h reg_exp.h reg_exp.o : reg_exp.c paths.h reg_exp.h reg_sub.o : reg_sub.c paths.h reg_exp.h clean: rm *.o # line has initial tab