build.sh (8236B)
1 #! /bin/sh -e 2 # This file is automatically generated with: tup generate build.sh 3 export tup_vardict="$(cd $(dirname $0) && pwd)/tup-generate.vardict" 4 mkdir -p "bin" 5 (cc -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/aio src/aio.c -lrt) 6 (cc -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/alsa-simple src/alsa-simple.c -lasound) 7 (cc -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/cat src/cat.c ) 8 (cc -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/clock-test src/clock-test.c ) 9 (cc -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/clone src/clone.c ) 10 (cc -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/cobs src/cobs.c ) 11 (cc -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/crc-table src/crc-table.c ) 12 (cc -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/damm-checksum src/damm-checksum.c ) 13 (cc -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/dsp src/dsp.c ) 14 (cc -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/enviro src/enviro.c ) 15 (cc -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/epoll src/epoll.c ) 16 (cc -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/eventfd src/eventfd.c ) 17 (cc -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/gl-3d src/gl-3d.c -lglfw -lGL -lm) 18 (cc -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/gl-lighting src/gl-lighting.c -lglfw -lGL -lm) 19 (cc -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/gl src/gl.c -lglfw -lGL -lm) 20 (cc -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/glob src/glob.c ) 21 (cc -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/guess-number src/guess-number.c ) 22 (cc -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/morse src/morse.c ) 23 (cc -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/mremap src/mremap.c ) 24 (cc -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/pulse-simple-client src/pulse-simple-client.c -lpulse-simple -lm) 25 (cc -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/regex src/regex.c ) 26 (cc -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/sudoku src/sudoku.c ) 27 (cc -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/whichtty src/whichtty.c ) 28 (cc -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/xor-linked-list src/xor-linked-list.c ) 29 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/arena-tree src/arena-tree.cpp ) 30 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/atexit src/atexit.cpp ) 31 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/barrier src/barrier.cpp ) 32 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/bit_cast src/bit_cast.cpp ) 33 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/cie-1931 src/cie-1931.cpp ) 34 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/coro-generator-consumer src/coro-generator-consumer.cpp ) 35 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/coro-generator2 src/coro-generator2.cpp ) 36 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/coro-poll src/coro-poll.cpp ) 37 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/coro-round-robin src/coro-round-robin.cpp ) 38 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/coro-state-machine src/coro-state-machine.cpp ) 39 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/coro-throwing src/coro-throwing.cpp ) 40 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/coro-timer-dispatch src/coro-timer-dispatch.cpp ) 41 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/coro-unconditional-dispatch src/coro-unconditional-dispatch.cpp ) 42 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/crc7 src/crc7.cpp ) 43 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/dimensions src/dimensions.cpp ) 44 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/elastic-tabstops src/elastic-tabstops.cpp ) 45 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/endian src/endian.cpp ) 46 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/filter-bubble src/filter-bubble.cpp ) 47 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/flat-set src/flat-set.cpp ) 48 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/gl-asteroids src/gl-asteroids.cpp -lglfw -lGL -lm -lasound) 49 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/hush src/hush.cpp ) 50 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/io_uring src/io_uring.cpp -luring) 51 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/list-composition src/list-composition.cpp ) 52 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/mmallocator src/mmallocator.cpp ) 53 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/model src/model.cpp ) 54 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/mutex_container src/mutex_container.cpp ) 55 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/owning_ptr src/owning_ptr.cpp ) 56 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/pathfind src/pathfind.cpp ) 57 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/pulse-async-client src/pulse-async-client.cpp -lpulse) 58 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/sdl-gl src/sdl-gl.cpp -lSDL2 -lGL) 59 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/sdl src/sdl.cpp -lSDL2) 60 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/sorts src/sorts.cpp ) 61 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/sqlite-saveload src/sqlite-saveload.cpp -lsqlite3) 62 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/template_specialisation src/template_specialisation.cpp ) 63 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/token-threaded-forth src/token-threaded-forth.cpp ) 64 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/treeify src/treeify.cpp ) 65 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/triple-buf src/triple-buf.cpp ) 66 (c++ -std=c++23 -Wall -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined,address -o bin/type-erased-unique_ptr src/type-erased-unique_ptr.cpp )