1# Makefile for PDCurses manext program. 2 3all: manual 4 5manual: PDCurses.txt 6 7PDCurses.txt: manext 8 cat intro.txt > PDCurses.txt 9 echo PDCurses Definitions and Variables >> PDCurses.txt 10 echo ================================== >> PDCurses.txt 11 ./manext ../curses.h >> PDCurses.txt 12 echo PDCurses Functions >> PDCurses.txt 13 echo ================== >> PDCurses.txt 14 ./manext ../pdcurses/*.c >> PDCurses.txt 15 ./manext ../x11/*.c >> PDCurses.txt 16 cat x11.txt >> PDCurses.txt 17 echo >> PDCurses.txt 18 echo >> PDCurses.txt 19 echo \ 20-------------------------------------------------------------------------- \ 21>> PDCurses.txt 22 echo >> PDCurses.txt 23 cat sdl.txt >> PDCurses.txt 24 25manext: manext.c 26 27install: 28 echo Does nothing at the moment 29 30clean: 31 -rm -rf *.o manext PDCurses.txt 32 33distclean: clean 34 35mostlyclean: clean 36 37realclean: distclean 38