mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-30 03:11:43 +00:00
16 lines
267 B
Makefile
16 lines
267 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)
|