git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@37 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-09-29 00:06:16 +00:00
parent b490488422
commit 1f0fee4df9
21 changed files with 176 additions and 176 deletions

View File

@@ -3,7 +3,7 @@
TARGET = $(shell uname -s)
CC = gcc
CFLAGS = -fPIC -Iinclude -D_MILSKO
CFLAGS = -fPIC -Iinclude -D_MW
LDFLAGS =
LIBS =
@@ -40,12 +40,12 @@ endif
.PHONY: all format clean
.SUFFIXES: .c .o
all: $(LIB)milsko$(SO)
all: $(LIB)Mw$(SO)
format:
clang-format --verbose -i $(shell find src include -name "*.c" -or -name "*.h")
$(LIB)milsko$(SO): $(L_OBJS)
$(LIB)Mw$(SO): $(L_OBJS)
$(CC) $(LDFLAGS) -shared -o $@ $(L_OBJS) $(L_LIBS)
clean: