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