Patrick Georgi | 3b77b72 | 2011-07-07 15:41:53 +0200 | [diff] [blame] | 1 | # Makefile for PDCurses manext program. |
| 2 | |
| 3 | all: manual |
| 4 | |
| 5 | manual: PDCurses.txt |
| 6 | |
| 7 | PDCurses.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 | |
| 25 | manext: manext.c |
| 26 | |
| 27 | install: |
| 28 | echo Does nothing at the moment |
| 29 | |
| 30 | clean: |
| 31 | -rm -rf *.o manext PDCurses.txt |
| 32 | |
| 33 | distclean: clean |
| 34 | |
| 35 | mostlyclean: clean |
| 36 | |
| 37 | realclean: distclean |