home *** CD-ROM | disk | FTP | other *** search
/ The Best Internet Programs / BESTINTERNET.bin / latest / ged2ht20 / makefile < prev    next >
Makefile  |  1995-04-07  |  798b  |  33 lines

  1. # Change the following to specify the desired output language
  2. # Currently only ENGLISH is supported.
  3. LANGUAGE= ENGLISH
  4.  
  5. # You must use an ANSI C compiler (like gcc)
  6. CC= gcc
  7. CFLAGS= -D${LANGUAGE} -g
  8.  
  9. ged2html: main.o read.o database.o index.o output.o tags.o
  10.     ${CC} ${CFLAGS} -o ged2html main.o read.o database.o index.o \
  11.         output.o tags.o
  12.  
  13. main.o: main.c node.h read.h database.h output.h tags.h
  14.     ${CC} ${CFLAGS} -c main.c
  15.  
  16. read.o: read.c node.h read.h tags.h
  17.     ${CC} ${CFLAGS} -c read.c
  18.  
  19. database.o: database.c node.h database.h index.h tags.h
  20.     ${CC} ${CFLAGS} -c database.c
  21.  
  22. index.o: index.c index.h
  23.     ${CC} ${CFLAGS} -c index.c
  24.  
  25. output.o: output.c tags.h node.h database.h output.h
  26.     ${CC} ${CFLAGS} -c output.c
  27.  
  28. tags.o: tags.c tags.h
  29.     ${CC} ${CFLAGS} -c tags.c
  30.  
  31. clean:
  32.     rm  -f ged2html *.o *~ #*
  33.