57 lines · 961 B · Makefile
RawDownload
## generic Makefile to use when you've got CWEB# (add it to, or add to it, whatever you like)##====================================================================== CFLAGS = -gMLIB = -lmRM = /bin/rm -fWFILES = extex.w treeprint.w wc.w wmerge.w wordtest.w oemacs.w #====================================================================== .SUFFIXES: .tex .dvi .w .w.tex:	cweave $* .tex.dvi:		tex $< .w.dvi:	make $*.tex	make $*.dvi .w.c:	ctangle $* .w.o:	make $*.c	make $*.o .c.o:	cc $(CFLAGS) -c $*.c .w:	make $*.c	cc $(CFLAGS) $*.c -o $* #====================================================================== all: $(WFILES:.w=) excweb excweb: extex	ln extex excweb oemacs: oemacs.c	cc $(CFLAGS) -I/usr/openwin/include oemacs.c \             -o oemacs -lxview -lolgx -lX11 doc: $(WFILES:.w=.dvi) clean:	$(RM) *~ \#~ .\#* *.o *.log *.dvi *.toc core a.out clobber: clean	$(RM) $(WFILES:.w=) $(WFILES:.w=.c) $(WFILES:.w=.tex)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t