# You should use imake !!!! CC = cc CCOPTIONS = -DHELPFILE=\"/usr/X11R6/lib/X11/xed/xed.help\" -O # Please check for some aditional DEFINES # -DSCROLLBREAK -DUSEGETCWD -DNORENAME -DUSEDIRENT xed : xedit.o jump.o edit.o file.o warning.o search.o file_sel.o special.o $(CC) $(CCOPTIONS) xedit.o jump.o edit.o file.o warning.o search.o file_sel.o special.o command.o -lXaw -lXt -lXmu -lXext -lX11 -o xed .c.o: $(CC) $(CCOPTIONS) -c $*.c xedit.o : xedit.c xedit.h jump.o : jump.c xedit.h edit.o : edit.c xedit.h file.o : file.c xedit.h warning.o : warning.c xedit.h search.o : search.c xedit.h file_sel.o : file_sel.c special.o : special.c xedit.h command.o : command.c xedit.h install : xed cp xed /usr/X11R6/bin/X11/xed mkdir /usr/X11R6/lib/X11/xed cat helpfile | sed "s@@/usr/X11R6/lib/X11/xed/xed.commands@g" | \ sed "s@@/usr/X11R6/lib/X11/app-defaults/Xed@g" > xed.help cp xed.help /usr/X11R6/lib/X11/xed/xed.help cp XednewX.ad /usr/X11R6/lib/X11/app-defaults/Xed install.man: cp xed.man /usr/man/mann/xed.n clean: rm *.o xed xed.help