Remove superior choice
FossilOrigin-Name: 4a1b3eaefb8cb4ca21e9a1a9d1200130591e5987637581f432b5896339ab6ca6
This commit is contained in:
parent
1c5ee031c9
commit
317ea5514b
1 changed files with 0 additions and 23 deletions
23
Makefile
23
Makefile
|
@ -1,23 +0,0 @@
|
|||
CC ?= cc
|
||||
CFLAGS = -g -std=c99 -Wall -Werror=implicit-function-declaration -Wno-unused-variable -I ./libs/ -I ./include/ $(shell pkg-config --cflags libcurl)
|
||||
SRC = $(wildcard src/*.c) libs/cjson/cJSON.c
|
||||
OBJ = $(patsubst %.c,%.o,$(SRC))
|
||||
TARGET = libmastodont.a # shared
|
||||
AR = ar
|
||||
|
||||
all: static
|
||||
|
||||
docs:
|
||||
doxygen Doxyfile
|
||||
|
||||
static: $(OBJ)
|
||||
$(AR) rcs $(TARGET) $(OBJ)
|
||||
|
||||
%.o: %.c
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
clean:
|
||||
rm -f $(TARGET)
|
||||
rm -f $(OBJ)
|
||||
|
||||
.PHONY: clean docs all test
|
Loading…
Reference in a new issue