mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-04 08:30:51 +00:00
format
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@6 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -27,11 +27,14 @@ L_OBJS += src/x11.o
|
||||
L_LIBS += -lX11
|
||||
endif
|
||||
|
||||
.PHONY: all clean
|
||||
.PHONY: all format clean
|
||||
.SUFFIXES: .c .o
|
||||
|
||||
all: $(LIB)milsko$(SO)
|
||||
|
||||
format:
|
||||
clang-format --verbose -i $(shell find src include -name "*.c" -or -name "*.h")
|
||||
|
||||
$(LIB)milsko$(SO): $(L_OBJS)
|
||||
$(CC) $(LDFLAGS) -shared -o $@ $(L_OBJS) $(L_LIBS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user