mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-03 08:00:50 +00:00
rahhh
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@37 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user