From 615fb4880029f11c3961043d4d93bda034443460 Mon Sep 17 00:00:00 2001 From: david Date: Tue, 6 Oct 2026 00:14:31 -0300 Subject: add autotools build system for easier crosscompiling and using the things that comes with github --- Makefile | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile deleted file mode 100644 index 8509a27..0000000 --- a/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -CC = gcc -CFLAGS = -Wall -Wextra -O2 -pipe -TARGET = build/mikusays -SRC = $(wildcard src/*.c) -OBJ = $(SRC:%.c=obj/%.o) -PREFIX = /usr/local - -$(TARGET): $(OBJ) - @mkdir -p $(@D) - $(CC) $(CFLAGS) -o $(TARGET) $(OBJ) $(LDLIBS) - -install: $(TARGET) - mkdir -p $(DESTDIR)$(PREFIX)/bin - install -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/bin/$(notdir $(TARGET)) - -uninstall: - rm -f $(DESTDIR)$(PREFIX)/bin/$(notdir $(TARGET)) - -obj/%.o: %.c - @mkdir -p $(@D) - $(CC) $(CFLAGS) -c $< -o $@ - -clean: - rm -f $(TARGET) $(OBJ) - -run: - make - build/mikusaysc "this is a test" -- cgit v1.3-2-g0d8e