3cc555d0a1
Adds lots of neat features from most other vendors file(1) commands, plus (important!) little and big endian file types. This will alow us to detect and extract meaningful information from a many more file types.
33 lines
780 B
Makefile
33 lines
780 B
Makefile
# Make up some fake test files that are easily produced.
|
|
# By no means an exhaustive test!
|
|
# @(#) $Id: Makefile,v 1.2 1993/06/10 00:38:32 jtc Exp $
|
|
all: ar cmd emp i tarf x
|
|
ar:
|
|
echo '<ar> fake fake fake' >$@
|
|
echo 070707 fake fake fake >$@.asc
|
|
echo '!<arch>.__.SYMDEF fake fake fake' >$@.ranlib
|
|
echo -h- >$@.swt
|
|
cmd:
|
|
echo '#! /bin/sh' >$@
|
|
echo '#!/bin/sh' >c.sh2
|
|
echo '#! /bin/csh' >c.csh1
|
|
echo '#!/bin/csh' >c.csh2
|
|
echo '#! /bin/awk' >c.awk1
|
|
echo '#!/bin/awk' >c.awk2
|
|
echo '#! /' >c.misc1
|
|
echo '#!/' >c.misc2
|
|
echo ': ' >c.broken
|
|
emp:
|
|
touch $@
|
|
i:
|
|
echo '@document(language impress)fake fake' >$@
|
|
echo '@document(language diablo)fake fake' >$@.d
|
|
tarf:
|
|
rm -f $@ # so not include self
|
|
tar cvf $@ *
|
|
x:
|
|
echo 'Interpress/Xerox fake fake fake' >$@
|
|
|
|
clean:
|
|
rm -f [a-z]*
|