Makefile (538B)
1 CC = gcc 2 DEFS= -DSVR4 -D_GNU_SOURCE 3 CFLAGS = -O2 -g -fomit-frame-pointer -Wall $(DEFS) 4 VERSION = 1.0.8 5 6 DESTDIR= 7 8 TARGET = hebraize 9 10 DIST = hebraize.c README Makefile 11 12 all: $(TARGET) 13 14 hebraize: hebraize.o 15 $(CC) $(CFLAGS) -o hebraize hebraize.o 16 17 install: 18 install hebraize $(DESTDIR)/usr/bin 19 20 clean: 21 rm -f *.o $(TARGET) *~ 22 23 dist: 24 rm -rf hebraize-$(VERSION) 25 rm -f hebraize-$(VERSION).tar.gz 26 27 mkdir hebraize-$(VERSION) 28 cp $(DIST) hebraize-$(VERSION) 29 tar zcf hebraize-$(VERSION).tar.gz hebraize-$(VERSION) 30 rm -rf hebraize-$(VERSION)