home *** CD-ROM | disk | FTP | other *** search
/ PC Extra Super CD 1998 January / PCPLUS131.iso / DJGPP / V2 / DJLSR201.ZIP / src / utils / texi2ps / makefile < prev    next >
Encoding:
Makefile  |  1995-10-08  |  400 b   |  27 lines

  1. # Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details
  2. CFLAGS = -O2 -Wimplicit
  3. LDFLAGS = -s
  4.  
  5. OBJS = \
  6.     fileio.o \
  7.     ps.o \
  8.     screenio.o \
  9.     texi2ps.o \
  10.     word.o \
  11.     ifset.o \
  12.     $E
  13.  
  14. ../../../bin/texi2ps.exe: $(OBJS)
  15.     gcc $(LDFLAGS) -o $@ $(OBJS)
  16.  
  17. %.o: %.c
  18.     gcc -MMD -c $(CFLAGS) $<
  19.  
  20. clean:
  21.     -rm -f *.o *.exe *.d
  22.  
  23. DEPS := $(wildcard *.d)
  24. ifneq ($(DEPS),)
  25. include $(DEPS)
  26. endif
  27.