URI: 
       tubase.mk - uwu - hardware bitcoin wallet software and build system
  HTML git clone https://git.parazyd.org/uwu
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
       tubase.mk (548B)
       ---
            1 # Copyright (c) 2020 Ivan J. <parazyd@dyne.org>
            2 # This file is part of uwu.
            3 # See LICENSE file for copyright and license details.
            4 
            5 UBASE_B = \
            6         $(UBASE_SRC)/mount \
            7         $(UBASE_SRC)/umount \
            8         $(UBASE_SRC)/switch_root
            9 
           10 UBASE_BINS = $(UBASE_SRC) $(UBASE_B)
           11 
           12 $(UBASE_SRC):
           13         git clone https://git.suckless.org/ubase
           14 
           15 $(UBASE_B): $(UBASE_SRC)
           16         $(MAKE) -C $(UBASE_SRC) \
           17                 CC=$(CROSS_COMPILE)gcc \
           18                 AR=$(CROSS_COMPILE)ar \
           19                 RANLIB=$(CROSS_COMPILE)ranlib \
           20                 CFLAGS="-Os -static -std=c99 -Wall -Wextra" \
           21                 LDFLAGS="-s -static" \
           22                 -e $(shell basename $@)