Mercurial > games > semicongine
diff Makefile @ 24:71bbe11d8de8
did: change shader compilation to run during program compilation, maybe add dynamic version later
author | Sam <sam@basx.dev> |
---|---|
date | Wed, 11 Jan 2023 11:15:02 +0700 |
parents | b45a5d338cd0 |
children | 8f290112718a |
line wrap: on
line diff
--- a/Makefile Wed Jan 11 00:43:43 2023 +0700 +++ b/Makefile Wed Jan 11 11:15:02 2023 +0700 @@ -1,30 +1,29 @@ SOURCES := $(shell find src -name '*.nim') # build hello_triangle -build/debug/linux/hello_triangle: ${SOURCES} +build/debug/linux/hello_triangle: ${SOURCES} thirdparty/bin/linux nim build_linux_debug -o:$@ examples/hello_triangle.nim -build/release/linux/hello_triangle: ${SOURCES} +build/release/linux/hello_triangle: ${SOURCES} thirdparty/bin/linux nim build_linux_release -o:$@ examples/hello_triangle.nim -build/debug/windows/hello_triangle.exe: ${SOURCES} build/nim_windows - # ${WINE_NIM} build_windows_debug -o:$@ examples/hello_triangle.nim +build/debug/windows/hello_triangle.exe: ${SOURCES} thirdparty/bin/windows nim build_windows_debug -o:$@ examples/hello_triangle.nim -build/release/windows/hello_triangle.exe: ${SOURCES} build/nim_windows +build/release/windows/hello_triangle.exe: ${SOURCES} thirdparty/bin/windows nim build_windows_release -o:$@ examples/hello_triangle.nim -# build alotof_triangles -build/debug/linux/alotof_triangles: ${SOURCES} - nim build_linux_debug -o:$@ examples/alotof_triangles.nim -build/release/linux/alotof_triangles: ${SOURCES} - nim build_linux_release -o:$@ examples/alotof_triangles.nim -build/debug/windows/alotof_triangles.exe: ${SOURCES} build/nim_windows - nim build_windows_debug -o:$@ examples/alotof_triangles.nim -build/release/windows/alotof_triangles.exe: ${SOURCES} build/nim_windows - nim build_windows_release -o:$@ examples/alotof_triangles.nim - build_all_linux_hello_triangle: build/debug/linux/hello_triangle build/release/linux/hello_triangle build_all_windows_hello_triangle: build/debug/windows/hello_triangle.exe build/release/windows/hello_triangle.exe build_all_hello_triangle: build_all_linux_hello_triangle build_all_windows_hello_triangle +# build alotof_triangles +build/debug/linux/alotof_triangles: ${SOURCES} thirdparty/bin/linux + nim build_linux_debug -o:$@ examples/alotof_triangles.nim +build/release/linux/alotof_triangles: ${SOURCES} thirdparty/bin/linux + nim build_linux_release -o:$@ examples/alotof_triangles.nim +build/debug/windows/alotof_triangles.exe: ${SOURCES} thirdparty/bin/windows + nim build_windows_debug -o:$@ examples/alotof_triangles.nim +build/release/windows/alotof_triangles.exe: ${SOURCES} thirdparty/bin/windows + nim build_windows_release -o:$@ examples/alotof_triangles.nim + build_all_linux_alotof_triangles: build/debug/linux/alotof_triangles build/release/linux/alotof_triangles build_all_windows_alotof_triangles: build/debug/windows/alotof_triangles.exe build/release/windows/alotof_triangles.exe build_all_alotof_triangles: build_all_linux_alotof_triangles build_all_windows_alotof_triangles