datefmt

format unix timestamps over stdin
git clone git://jb55.com/datefmt
Log | Files | Refs | README | LICENSE

Makefile (222B)


      1 
      2 CFLAGS = -g -Wall -Werror -std=c99
      3 PREFIX ?= /usr
      4 
      5 datefmt: datefmt.c
      6 	$(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
      7 
      8 install: datefmt
      9 	mkdir -p $(PREFIX)/bin
     10 	cp datefmt $(PREFIX)/bin
     11 
     12 clean:
     13 	rm -f datefmt
     14 
     15 .PHONY: install clean