home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / grafik / hpcd06 / makefile < prev    next >
Encoding:
Makefile  |  1994-03-25  |  583 b   |  26 lines

  1. #
  2. #
  3. # Use the hpcdtoppm procedures for writing ppm and pgm
  4. VFLAGS= -DOWN_WRITE
  5. VLIBS=
  6. # Use the pbmplus procedures for writing ppm and pgm
  7. #VFLAGS=
  8. #VLIBS= libpbm.a libpgm.a libppm.a
  9. #
  10. #
  11. CC=     gcc
  12. CFLAGS= -O4 -ansi -Wall $(VFLAGS)
  13. INCL=   hpcdtoppm.h config.h
  14. OBJ=    main.o output.o color.o format.o tools.o error.o \
  15.         ppm.o postscr.o const.o tga.o
  16. COMPILE=$(CC) $(CFLAGS) -c
  17. #
  18. hpcdtopp: $(OBJ)
  19.         $(CC) -o hpcdtopp $(OBJ) $(VLIBS)
  20.         coff2exe hpcdtopp
  21. #
  22. .c.o:
  23.         $(COMPILE) $(*).c
  24. #$(OBJ): main.c $(INCL)
  25. #        $(COMPILE) $(*).c
  26.