flatten 20260225
This commit is contained in:
21
tjp/Make/Makefile.build_lib
Executable file
21
tjp/Make/Makefile.build_lib
Executable file
@@ -0,0 +1,21 @@
|
||||
###################################
|
||||
# License: Modified MIT (NON-AI)
|
||||
# Copyright 2025 Timothy Prepscius
|
||||
# See the LICENSE file in the root directory for license information.
|
||||
###################################
|
||||
|
||||
SELF_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
|
||||
|
||||
LIB := $(OBJPATH)/$(LIBFILE)
|
||||
|
||||
$(LIB) : $(OBJ)
|
||||
$(AR) $(ARFLAGS) $(LIB) $(OBJ)
|
||||
|
||||
ifneq ($(COPYTO),)
|
||||
-@mkdir -p $(COPYTO)/$(OBJDIR)
|
||||
@while [ ! -e $(COPYTO)/$(OBJDIR) ]; do sleep 0.1; done
|
||||
cp -p $(LIB) $(COPYTO)/$(OBJDIR)
|
||||
endif
|
||||
|
||||
lib : $(LIB)
|
||||
build: lib
|
||||
Reference in New Issue
Block a user