1
0
Files
irix-657m-src/eoe/cmd/pmake/tests/null.test
2022-09-29 17:59:04 +03:00

21 lines
363 B
Plaintext

#
# Test of the null suffix transformation stuff
# The idea is to first make an executable from a .c file, then make
# a .nm file from the executable...
#
.MAKEFLAGS: -n
.SUFFIXES : .out .c .nm
.NULL : .out
.c.out :
cc -o $(.TARGET) $(.IMPSRC)
.out.nm :
nm -a $(.IMPSRC) > $(.TARGET)
.MAIN: a.nm
a.c::
: This should print
: cc -o a a.c
: nm -a a '>' a.nm