# Makefile for zic. CFLAGS= $(OPT) -D_MINIX -DNOID -Dunix -I/usr/include/bsdcompat ZICOBJ= zic.o scheck.o ialloc.o ZDUMPOBJ= zdump.o ialloc.o all: zic zic: $(ZICOBJ) $(CC) -fnone -o $@ $(ZICOBJ) zdump: $(ZDUMPOBJ) $(CC) -fnone -o $@ $(ZDUMPOBJ) $(ZICOBJ) $(ZDUMPOBJ): private.h zdump.o: zdump.c $(CC) -c $(CFLAGS) -wo zdump.c install: \ /usr/sbin/zic /usr/sbin/zdump \ /usr/man/man8/zic.8 /usr/man/man8/zdump.8 /usr/man/man5/tzfile.5 /usr/sbin/zic: zic install -lc $? $@ /usr/sbin/zdump: zdump install -lc $? $@ /usr/man/man8/zic.8: zic.8 install -lc $? $@ /usr/man/man8/zdump.8: zdump.8 install -lc $? $@ /usr/man/man5/tzfile.5: tzfile.5 install -lc $? $@ clean: rm -rf zic zdump *.o a.out core