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

16 lines
353 B
Plaintext

#
# Makefile to test execution of commands
#
a :
@echo ${.TARGET}
: That should have printed just "a"
#ifndef DO_ERROR
: Should next get an error message about extra commands for a ignored
-@$(MAKE) -lMf cmd.test -DDO_ERROR
#endif DO_ERROR
#ifdef DO_ERROR
a :
: this is an error. Only one command per target for the ':' operator
#endif DO_ERROR