home *** CD-ROM | disk | FTP | other *** search
/ ftp.freefriends.org / ftp.freefriends.org.tar / ftp.freefriends.org / arnold / Source / strftime-8.0.shar.gz / strftime-8.0.shar / Makefile < prev    next >
Makefile  |  2001-07-04  |  508b  |  19 lines

  1. # Makefile for PD date and strftime
  2.  
  3. SRCS= date.c strftime.c
  4. OBJS= date.o strftime.o
  5. DOCS= date.1 strftime.3
  6.  
  7. # Uncomment the define of HAVE_TZNAME if your system has the tzname[] array.
  8. # Uncomment the define of TM_IN_SYS_TIME if struct tm is in <sys/time.h>.
  9. # Uncomment the define of TM_ZONE if your struct tm has the tm_zone field.
  10. CFLAGS= -O #-DHAVE_TZNAME #-DTM_IN_SYS_TIME #-DHAVE_TM_ZONE
  11. CFLAGS= -O -DHAVE_TM_ZONE
  12.  
  13. date: $(OBJS)
  14.     $(CC) $(CFLAGS) $(OBJS) -o $@
  15.  
  16. date.o: date.c
  17.  
  18. strftime.o: strftime.c
  19.