format
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@6 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
a14d3e9f58
commit
4800c9822f
4 changed files with 39 additions and 36 deletions
|
|
@ -27,11 +27,14 @@ L_OBJS += src/x11.o
|
||||||
L_LIBS += -lX11
|
L_LIBS += -lX11
|
||||||
endif
|
endif
|
||||||
|
|
||||||
.PHONY: all clean
|
.PHONY: all format clean
|
||||||
.SUFFIXES: .c .o
|
.SUFFIXES: .c .o
|
||||||
|
|
||||||
all: $(LIB)milsko$(SO)
|
all: $(LIB)milsko$(SO)
|
||||||
|
|
||||||
|
format:
|
||||||
|
clang-format --verbose -i $(shell find src include -name "*.c" -or -name "*.h")
|
||||||
|
|
||||||
$(LIB)milsko$(SO): $(L_OBJS)
|
$(LIB)milsko$(SO): $(L_OBJS)
|
||||||
$(CC) $(LDFLAGS) -shared -o $@ $(L_OBJS) $(L_LIBS)
|
$(CC) $(LDFLAGS) -shared -o $@ $(L_OBJS) $(L_LIBS)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue