From b4e5d692bea695c2fad35cce17478719a2e34f22 Mon Sep 17 00:00:00 2001 From: stephen schuresko Date: Mon, 26 Jan 2026 19:37:08 -0500 Subject: [PATCH] update build system to rename main target to openmine3d and adjust related Makefile rules --- .gitignore | 2 +- Makefile | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 96249ce..939e5e9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ *.o -main \ No newline at end of file +openmine3d \ No newline at end of file diff --git a/Makefile b/Makefile index 61b98f9..60f74f8 100644 --- a/Makefile +++ b/Makefile @@ -11,17 +11,17 @@ HEADERS = $(wildcard *.h) OBJS = $(SRCS:.c=.o) %.o: %.c Makefile $(HEADERS) gcc -c $< -o $@ $(CFLAGS) -main: $(OBJS) - gcc -o main $(OBJS) $(LDFLAGS) +openmine3d: $(OBJS) + gcc -o openmine3d $(OBJS) $(LDFLAGS) clean: - rm -rf *.out + rm -rf openmine3d $(OBJS) run: - ./main.out + ./openmine3d install: - cp main.out /usr/local/bin/ + cp openmine3d /usr/local/bin/ uninstall: - rm -rf /usr/local/bin/main.out + rm -rf /usr/local/bin/openmine3d \ No newline at end of file