git.y1.nz

lwl

Less with links.
download: http://git.y1.nz/archives/lwl.tar.gz
README | Files | Log | Refs

Makefile

      1 include config.mk
      2 
      3 all: lwl
      4 
      5 lwl: main.c term.o text.o state.o draw.o config.h
      6 	$(CC) main.c text.o term.o state.o draw.o -o lwl
      7 
      8 install: lwl
      9 	cp -f lwl $(PREFIX)/bin
     10 	mkdir -p $(MANPREFIX)/man1
     11 	cp -f lwl.1 $(MANPREFIX)/man1
     12 
     13 uninstall:
     14 	rm -f $(PREFIX)/bin/lwl
     15 	rm -f $(MANPREFIX)/man1/lwl.1
     16 
     17 clean:
     18 	rm -f term.o draw.o state.o text.o lwl
     19 
     20 term.o: term.c term.h config.h
     21 	$(CC) term.c -c -o term.o
     22 
     23 state.o: state.c state.h config.h
     24 	$(CC) state.c -c -o state.o
     25 
     26 text.o: text.c config.h term.h text.h draw.h state.h
     27 	$(CC) text.c -c -o text.o
     28 
     29 draw.o: draw.c config.h text.h state.h
     30 	$(CC) draw.c -c -o draw.o

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.