Makefile
changeset 5 c87681fff7d3
parent 2 57a1fcb0c75c
child 6 bc41369f4587
equal deleted inserted replaced
4:b2dfe3374454 5:c87681fff7d3
     1 CFLAGS=-O2 -g
     1 CFLAGS=-O2 -g
     2 CC=gcc
     2 CC=gcc
     3 
     3 
     4 all: dictre idx2index
     4 all: dictre idx2index trim-nou8
     5 
     5 
     6 idx2index: idx2index.c
     6 idx2index: idx2index.c
       
     7 trim-nou8: trim-nou8.c
     7 
     8 
     8 dictre: load.o dict.o write.o sort.o filter.o main.o fastmalloc.o
     9 dictre: load.o dict.o write.o sort.o filter.o main.o fastmalloc.o repeated.o
     9 	$(CC) -o $@ $^
    10 	$(CC) -o $@ $^
    10 
    11 
    11 dict.c: dictre.h
    12 dict.c: dictre.h
    12 write.c: dictre.h
    13 write.c: dictre.h
    13 load.c: dictre.h
    14 load.c: dictre.h
    14 sort.c: dictre.h
    15 sort.c: dictre.h
    15 filter.c: dictre.h
    16 filter.c: dictre.h
    16 main.c: dictre.h
    17 main.c: dictre.h
    17 fastmalloc.c: dictre.h
    18 fastmalloc.c: dictre.h
       
    19 repeated.c: dictre.h