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