Makefile
changeset 14 a961bb8806b9
parent 10 188a0e3b3fb4
child 15 17a66ceb774a
equal deleted inserted replaced
13:f71e89074c62 14:a961bb8806b9
     1 CFLAGS=-O2 -g
     1 CFLAGS=-g
     2 CC=gcc
     2 CC=gcc
     3 
     3 
     4 all: dictre idx2index trim-nou8 ia5 asciiigi-utf8-akcenton zprocess
     4 all: dictre idx2index trim-nou8 ia5 asciiigi-utf8-akcenton zprocess \
       
     5 	zparsetext
     5 
     6 
     6 idx2index: idx2index.o dict.o
     7 idx2index: idx2index.o dict.o
     7 trim-nou8: trim-nou8.c
     8 trim-nou8: trim-nou8.c
     8 asciiigi-utf8-akcenton: asciiigi-utf8-akcenton.c
     9 asciiigi-utf8-akcenton: asciiigi-utf8-akcenton.c
     9 
    10 
    10 ia5: ia5.o dict.o
    11 ia5: ia5.o dict.o
    11 
    12 
    12 dictre: load.o dict.o write.o sort.o filter.o main.o fastmalloc.o repeated.o
    13 dictre: load.o dict.o write.o sort.o filter.o main.o fastmalloc.o repeated.o
    13 	$(CC) -o $@ $^
    14 	$(CC) -o $@ $^
    14 
    15 
    15 zprocess: zload.o dict.o zdefs.o zhash.o zrus.o fastmalloc.o
    16 zprocess: zload.o dict.o zdefs.o zhash.o zrus.o
       
    17 	$(CC) -o $@ $^
       
    18 
       
    19 zparsetext: parse_text.o zrus.o find.o dict.o
    16 	$(CC) -o $@ $^
    20 	$(CC) -o $@ $^
    17 
    21 
    18 dict.c: dictre.h
    22 dict.c: dictre.h
    19 write.c: dictre.h
    23 write.c: dictre.h
    20 load.c: dictre.h
    24 load.c: dictre.h
    26 ia5.c: dictre.h
    30 ia5.c: dictre.h
    27 zload.c: dictre.h
    31 zload.c: dictre.h
    28 zdefs.c: dictre.h
    32 zdefs.c: dictre.h
    29 zhash.c: dictre.h
    33 zhash.c: dictre.h
    30 zrus.c: dictre.h
    34 zrus.c: dictre.h
       
    35 find.c: dictre.h