diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-14 01:23:12 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-14 01:23:12 +0100 |
commit | 57e497b873d95f7487716e12271a82c6384012f0 (patch) | |
tree | bf23eb88dd0ecf4893c4a8eda0aac247c8e2dcc0 /minilibx_beta/Makefile | |
parent | Better than nothing (diff) | |
download | 42-cub3d-57e497b873d95f7487716e12271a82c6384012f0.tar.gz 42-cub3d-57e497b873d95f7487716e12271a82c6384012f0.tar.bz2 42-cub3d-57e497b873d95f7487716e12271a82c6384012f0.tar.xz 42-cub3d-57e497b873d95f7487716e12271a82c6384012f0.tar.zst 42-cub3d-57e497b873d95f7487716e12271a82c6384012f0.zip |
I don't use that
Diffstat (limited to 'minilibx_beta/Makefile')
-rw-r--r-- | minilibx_beta/Makefile | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/minilibx_beta/Makefile b/minilibx_beta/Makefile deleted file mode 100644 index 39c36f4..0000000 --- a/minilibx_beta/Makefile +++ /dev/null @@ -1,34 +0,0 @@ - - - -MODULE_SRC= mlx_image.swift mlx_window.swift mlx_init.swift -MODULE_OBJ=$(MODULE_SRC:.swift=.swiftmodule) - -SRC= interface.swift $(MODULE_SRC) -OBJ=$(SRC:.swift=.o) - -C_SRC= mlx_xpm.c mlx_png.c mlx_string_put.c -C_OBJ=$(C_SRC:.c=.o) -CFLAGS=-O3 - -NAME=libmlx.dylib - -INC=-I. -#OPTI=-Ounchecked - -all: $(NAME) - -$(NAME): $(MODULE_OBJ) $(OBJ) $(C_OBJ) - swiftc $(OPTI) $(INC) -o $(NAME) -emit-library $(OBJ) $(C_OBJ) -lz - - - -%.o: %.swift - swiftc $(OPTI) $(INC) -parse-as-library -c $< -o $@ - -%.swiftmodule: %.swift - swiftc $(OPTI) $(INC) -parse-as-library -c $< -o $@ -emit-module -module-name $(patsubst %.swift,%,$<) -module-link-name $(patsubst %.swift,%,$<) - -clean: - rm -f $(NAME) $(OBJ) $(MODULE_OBJ) $(C_OBJ) *.swiftdoc *~ - |