commit 8a06c4fe033129df8591ae68529aaf7b056728a2 parent f8326977f5965c10470b9fa669c6e29d0e9e03fd Author: Vincent Forest <vincent.forest@meso-star.com> Date: Mon, 24 Jul 2023 09:52:34 +0200 Minor adjustments to POSIX make formatting Diffstat:
| M | Makefile | | | 22 | +++++++++++----------- |
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/Makefile b/Makefile @@ -26,20 +26,20 @@ LIBNAME = $(LIBNAME_$(LIB_TYPE)) # Library building ################################################################################ SRC =\ - src/s3dut_cuboid.c\ - src/s3dut_cylinder.c\ - src/s3dut_mesh.c\ - src/s3dut_sphere.c\ - src/s3dut_super_shape.c + src/s3dut_cuboid.c\ + src/s3dut_cylinder.c\ + src/s3dut_mesh.c\ + src/s3dut_sphere.c\ + src/s3dut_super_shape.c OBJ = $(SRC:.c=.o) DEP = $(SRC:.c=.d) build_library: .config $(DEP) @$(MAKE) -fMakefile $$(for i in $(DEP); do echo -f $${i}; done) \ - $$(if [ -n "$(LIBNAME)" ]; then\ - echo "$(LIBNAME)";\ - else\ - echo "$(LIBNAME_SHARED)";\ + $$(if [ -n "$(LIBNAME)" ]; then \ + echo "$(LIBNAME)"; \ + else \ + echo "$(LIBNAME_SHARED)"; \ fi) $(DEP) $(OBJ): config.mk @@ -53,8 +53,8 @@ $(LIBNAME_STATIC): $(OBJ) .config: config.mk @if ! $(PKG_CONFIG) --atleast-version $(RSYS_VERSION) rsys; then\ - echo "rsys $(RSYS_VERSION) not found" >&2; exit 1; fi - @echo "config done" > $@ + echo "rsys $(RSYS_VERSION) not found" >&2; exit 1; fi + @echo "config done" > $@ .SUFFIXES: .c .d .o .c.d: