pqc/crypto_kem/kyber768/clean/GNUmakefile

16 lines
276 B
Makefile
Raw Normal View History

2019-02-06 17:46:50 +00:00
LIB=libkyber768_clean.a
2019-02-02 01:58:26 +00:00
2019-02-06 17:22:58 +00:00
SOURCES=$(wildcard *.c)
OBJECTS=$(patsubst %.c,%.o,$(SOURCES))
2019-02-02 01:58:26 +00:00
2019-02-06 17:22:58 +00:00
CFLAGS=-Wall -Wextra -Wpedantic -Werror -std=c99 -I../../../common $(EXTRAFLAGS)
2019-02-02 01:58:26 +00:00
2019-02-06 17:41:55 +00:00
all: $(LIB)
2019-02-06 17:22:58 +00:00
$(LIB): $(OBJECTS)
2019-02-06 17:41:55 +00:00
$(AR) -r $@ $(OBJECTS)
2019-02-02 01:58:26 +00:00
clean:
2019-02-06 17:41:55 +00:00
$(RM) $(OBJECTS)
$(RM) $(LIB)