all: ttm htmlimg texmac.m4 textom4
ttm-bin: ttm
cp ttm ../bin/
htmlimg-bin: htmlimg
cp htmlimg ../bin/
htmlimg: htmlimg.c
gcc -g -Wall -o htmlimg htmlimg.c
textom4: textom4.o
gcc textom4.o -o textom4
ttm: ttm.c ttm.h
gcc ttm.c -o ttm -Wall -g
up: scp all
scp:
scp "vitas@vitas.kolej.mff.cuni.cz:j/ttm/ttm.{c,h}" .
scp-htmlimg:
scp vitas@vitas.kolej.mff.cuni.cz:j/htmlimg/htmlimg.c .
texmac.m4: texmac.ttm ttm
./ttm -pw -o texmac.m4 texmac.ttm