Fix: removing old and useless files

This commit is contained in:
synt-xerror
2026-02-16 22:05:53 -03:00
parent 878ee963b5
commit 7cdac92582
4 changed files with 0 additions and 38 deletions

View File

@@ -1,38 +0,0 @@
# ------------------------------
# Neocities CLI Makefile (Portable)
# ------------------------------
# Default compiler
CC ?= gcc
# Compiler flags
CFLAGS ?= -Wall -O2 -Iinclude
# Libraries
LIBS ?= -lcurl -ljansson
# Source and target
SRC = \
src/main.c \
src/info.c
BIN = neocities
# Detect Windows (MSYS2 / MinGW)
ifeq ($(OS),Windows_NT)
RM = del /Q
BIN_EXT = .exe
else
RM = rm -f
BIN_EXT =
endif
# Build executable
all: $(BIN)$(BIN_EXT)
$(BIN)$(BIN_EXT): $(SRC)
$(CC) $(CFLAGS) -o $@ $^ $(LIBS)
# Clean build files
clean:
$(RM) $(BIN)$(BIN_EXT)