18 lines
326 B
Makefile
18 lines
326 B
Makefile
|
# exemples du bouquin
|
||
|
|
||
|
ex_curses: ex_curses.c Makefile
|
||
|
gcc -Wall $< -o $@ -lncurses
|
||
|
|
||
|
|
||
|
TOTAR = chap/*.tex chap/*.png *.tex *.c Makefile *.sh *.awk
|
||
|
|
||
|
|
||
|
tarball: $(TOTAR)
|
||
|
date >> tarball
|
||
|
ls $(TOTAR) | sed 's/^/Ordinateur\//' > MANIFEST
|
||
|
( cd .. ; tar zcvf livre_ordinateur.tar.gz `cat Ordinateur/MANIFEST` )
|
||
|
|
||
|
|
||
|
|
||
|
|