1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-27 09:51:30 +00:00
pqcrypto/crypto_kem/kyber768/clean/Makefile.GNU_make

16 lines
273 B
Makefile
Raw Normal View History

2019-02-06 17:22:58 +00:00
LIB=kyber768_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)