Remove superior choice

FossilOrigin-Name: 4a1b3eaefb8cb4ca21e9a1a9d1200130591e5987637581f432b5896339ab6ca6
This commit is contained in:
nekobit 2022-12-06 04:10:27 +00:00
parent 1c5ee031c9
commit 317ea5514b

View file

@ -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