Mercurial > games > semicongine
comparison Makefile @ 27:8cb2d96ac28e
did: simplify publishing mechanism
author | Sam <sam@basx.dev> |
---|---|
date | Wed, 11 Jan 2023 11:55:54 +0700 |
parents | 8f290112718a |
children | da922b506570 |
comparison
equal
deleted
inserted
replaced
26:8b4bc545958d | 27:8cb2d96ac28e |
---|---|
37 # clean | 37 # clean |
38 clean: | 38 clean: |
39 rm -rf build | 39 rm -rf build |
40 rm -rf thirdparty | 40 rm -rf thirdparty |
41 | 41 |
42 # tests | |
42 .PHONY: tests | 43 .PHONY: tests |
43 | |
44 # tests | |
45 tests: | 44 tests: |
46 testament p tests/ | 45 testament p tests/ |
47 | 46 |
48 # publish | 47 # publish |
49 publish_linux_debug_hello_triangle: build/debug/linux/hello_triangle | 48 publish: |
50 scp $< basx.dev:/var/www/public.basx.dev/joni/linux/debug/ | 49 rsync -rv build/ basx.dev:/var/www/public.basx.dev/zamikongine |
51 publish_linux_release_hello_triangle: build/release/linux/hello_triangle | |
52 scp $< basx.dev:/var/www/public.basx.dev/joni/linux/release/ | |
53 publish_windows_debug_hello_triangle: build/debug/linux/hello_triangle.exe | |
54 scp $< basx.dev:/var/www/public.basx.dev/joni/windows/debug/ | |
55 publish_windows_release_hello_triangle: build/release/linux/hello_triangle.exe | |
56 scp $< basx.dev:/var/www/public.basx.dev/joni/windows/release/ | |
57 publish_all_linux_hello_triangle: publish_linux_debug_hello_triangle publish_linux_release_hello_triangle | |
58 publish_all_windows_hello_triangle: publish_windows_debug_hello_triangle publish_windows_release_hello_triangle | |
59 publish_all_alotof_hello_triangle: publish_all_linux_hello_triangle publish_all_windows_hello_triangle | |
60 | |
61 publish_linux_debug_alotof_triangles: build/debug/linux/alotof_triangles | |
62 scp $< basx.dev:/var/www/public.basx.dev/joni/linux/debug/ | |
63 publish_linux_release_alotof_triangles: build/release/linux/alotof_triangles | |
64 scp $< basx.dev:/var/www/public.basx.dev/joni/linux/release/ | |
65 publish_windows_debug_alotof_triangles: build/debug/linux/alotof_triangles.exe | |
66 scp $< basx.dev:/var/www/public.basx.dev/joni/windows/debug/ | |
67 publish_windows_release_alotof_triangles: build/release/linux/alotof_triangles.exe | |
68 scp $< basx.dev:/var/www/public.basx.dev/joni/windows/release/ | |
69 publish_all_linux_alotof_triangles: publish_linux_debug_alotof_triangles publish_linux_release_alotof_triangles | |
70 publish_all_windows_alotof_triangles: publish_windows_debug_alotof_triangles publish_windows_release_alotof_triangles | |
71 publish_all_alotof_triangles: publish_all_linux_alotof_triangles publish_all_windows_alotof_triangles | |
72 | |
73 | 50 |
74 # download thirdparty-libraries | 51 # download thirdparty-libraries |
75 | 52 |
76 thirdparty/bin/linux/glslangValidator: | 53 thirdparty/bin/linux/glslangValidator: |
77 mkdir -p $$( dirname $@ ) | 54 mkdir -p $$( dirname $@ ) |