all: main.exe

clean:
    del *.obj /s
    del *.exe /s

{% for base in source_bases %}
{{base}}.obj:
	nvcc {{compiler_flags}} -dc {{base}}.cu -o {{base}}.obj

{% endfor %}

main.exe: {% for base in source_bases %}{{base}}.obj {% endfor %}
	nvcc -arch=sm_20 {% for base in source_bases %}{{base}}.obj {% endfor %} -o main.exe
