mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-09 08:51:18 +08:00
0feb41b087
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
33 lines
591 B
NASM
33 lines
591 B
NASM
;Testname=br3028880; Arguments=-Ox -fbin -obr3028880.o; Files=stdout stderr br3028880.o
|
|
|
|
%macro import 1
|
|
%defstr %%incfile %!PROJECTBASEDIR/%{1}.inc
|
|
%defstr %%decfile %!'PROJECTBASEDIR'/%{1}.dec
|
|
db %%incfile, `\n`
|
|
db %%decfile, `\n`
|
|
%endmacro
|
|
|
|
%ifenv PROJECTBASEDIR
|
|
import foo
|
|
%else
|
|
%warning No PROJECTBASEDIR defined
|
|
%endif
|
|
|
|
%ifenv %!PROJECTBASEDIR
|
|
import foo
|
|
%else
|
|
%warning No PROJECTBASEDIR defined
|
|
%endif
|
|
|
|
%ifenv 'PROJECTBASEDIR'
|
|
import foo
|
|
%else
|
|
%warning No PROJECTBASEDIR defined
|
|
%endif
|
|
|
|
%ifenv %!'PROJECTBASEDIR'
|
|
import foo
|
|
%else
|
|
%warning No PROJECTBASEDIR defined
|
|
%endif
|