mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-26 17:31:38 +00:00
16 lines
276 B
Makefile
16 lines
276 B
Makefile
LIB=libkyber768_clean.a
|
|
|
|
SOURCES=$(wildcard *.c)
|
|
OBJECTS=$(patsubst %.c,%.o,$(SOURCES))
|
|
|
|
CFLAGS=-Wall -Wextra -Wpedantic -Werror -std=c99 -I../../../common $(EXTRAFLAGS)
|
|
|
|
all: $(LIB)
|
|
|
|
$(LIB): $(OBJECTS)
|
|
$(AR) -r $@ $(OBJECTS)
|
|
|
|
clean:
|
|
$(RM) $(OBJECTS)
|
|
$(RM) $(LIB)
|