Run AmigaDOS commands in a makefile
Posted: Mon Jun 27, 2011 5:37 pm
I was trying to run some AmigaDOS commands ("if exists foo") a makefile and I found almost nothing about that. Then I found the article on gnumake by Steven, so I tried a simple example using @@ :
That doesn't work and I have an error :
Code: Select all
all:
if exists foo @@
echo "foo exists" @@
else @@
echo "foo does not exist" @@
endif
I use make 3.81 from the last SDK (53.20 I suppose ... by the way, I am not sure there is the version number somewhere once the SDK is installed).if exists foo @@
IF: ELSE or ENDINF missing
if : error code 10