fix
This commit is contained in:
parent
d2a3bcb744
commit
14c9fbdd52
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
|
@ -3,7 +3,7 @@
|
|||
CC = gcc
|
||||
AR = ar
|
||||
|
||||
.PHONY: all install clean
|
||||
.PHONY: all format clean
|
||||
.SUFFIXES: .c .o
|
||||
|
||||
OBJS = src/core.o
|
||||
|
|
@ -14,6 +14,9 @@ OBJS += src/misc/url.o src/misc/wildcard.o
|
|||
|
||||
all: libppr.a
|
||||
|
||||
format:
|
||||
clang-format --verbose -i `find src include -name "*.c" -or -name "*.h"`
|
||||
|
||||
.c.o:
|
||||
$(CC) -c -I include -o $@ $<
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue