# This may have to change on your system. # You may have to fiddle with various combinations of curses, termcap, # terminfo, etc. Good luck! #LIBS = -lcurses -ltermcap #LIBS = -ltermlib #LIBS = -lterminfo #for sysV LIBS = -lcurses # However you need getopt. #GETOPT = -lgetopt #not for sysV! (nor for some BSD) #GETOPT = # If you're running on a 4.[23] system, you probably want this. #WORK = -DMOD_HAX #sysV WORK = #BSD or thereabouts #CFLAGS = -O $(WORK) #Microport sysV/AT, large model, for sdb debugger CFLAGS = -g -Ml bpatch: bpatch.o $(CC) -o bpatch $(CFLAGS) bpatch.o $(GETOPT) $(LIBS) install: @echo Use cp to put things where you want them