Initial commit
All checks were successful
CI / build-and-analyze (push) Successful in 1m30s

This commit is contained in:
2026-08-17 15:06:08 +03:00
commit 64e40987b0
11 changed files with 505 additions and 0 deletions

23
Makefile.mingw Normal file
View File

@@ -0,0 +1,23 @@
# MinGW Makefile for CgeArgs
CC = gcc
AR = ar
CFLAGS = -std=c99 -O2 -Wall -Wextra
ARFLAGS = rcs
TARGET = libCgeArgs.a
SOURCES = Args.c
OBJECTS = $(SOURCES:.c=.o)
.PHONY: all clean
all: $(TARGET)
$(TARGET): $(OBJECTS)
$(AR) $(ARFLAGS) $@ $^
%.o: %.c CgeArgs.h
$(CC) $(CFLAGS) -c $< -o $@
clean:
del $(OBJECTS) $(TARGET) 2>nul || exit 0