From 9e5372a6db4334d9ff7da1a0f949cdb359ab6de1 Mon Sep 17 00:00:00 2001 From: david Date: Fri, 24 Jul 2026 18:40:14 -0300 Subject: CONFIGURE YAYY BETTER BUILD METHODS lslsls! ANYTHING BUT WRITING ACTUAL CODElslslslslslslslslslslslslslslsls --- Makefile | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile deleted file mode 100644 index 575914c..0000000 --- a/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -CC = gcc -CFLAGS = -Wall -Wextra -O2 -pipe -LDLIBS = -lncurses -TARGET = petratc -SRC = petratc.c rat.c $(wildcard games/*.c) -OBJ = $(SRC:%.c=obj/%.o) -PREFIX = /usr/local - -$(TARGET): $(OBJ) - $(CC) $(CFLAGS) -o $(TARGET) $(OBJ) $(LDLIBS) - -install: $(TARGET) - install -D $(TARGET) $(DESTDIR)$(PREFIX)/bin/$(TARGET) - -uninstall: - rm -f $(DESTDIR)$(PREFIX)/bin/$(TARGET) - -obj/%.o: %.c - @mkdir -p $(@D) - $(CC) $(CFLAGS) -c $< -o $@ - -clean: - rm -f $(TARGET) $(OBJ) -- cgit v1.3-2-g0d8e