# # makefile for calc and day # CFLAGS=-O2 CC=bcc LD=bcc all: cal.exe day.exe CAL=cal.obj calendar.obj cal.exe: $(CAL) $(LD) $(LDFLAGS) -e$@ $(CAL) $(LDLIBS) calendar.obj: calendar.c calendar.h cal.obj: cal.c calendar.h DAY=day.obj calendar.obj day.exe: $(DAY) $(LD) $(LDFLAGS) -e$@ $(DAY) $(LDLIBS) day.obj: day.c calendar.h NAME=cal V=88 SRCB=cal.exe cal.1 day.exe day.1 SRCS=Makefile cal.c day.c calendar.c calendar.h install: cal.exe day.exe cp cal.exe day.exe /bin cal.1: cal.j jpr $< | d2u > $@ day.1: day.j jpr $< | d2u > $@ RM=rm -f clean: $(RM) *.exe *.obj