summaryrefslogtreecommitdiff
path: root/test/ifenv.asm
blob: 15f12f88bc3ddee412b932220455e481d8ecf5b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
%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