Rename GNU Makefile

This commit is contained in:
Douglas Stebila 2019-02-06 12:41:55 -05:00 committed by Thom Wiggers
parent 84d8d5a6c2
commit 4a387d7896
No known key found for this signature in database
GPG Key ID: 001BB0A7CE26E363

View File

@ -5,9 +5,11 @@ OBJECTS=$(patsubst %.c,%.o,$(SOURCES))
CFLAGS=-Wall -Wextra -Wpedantic -Werror -std=c99 -I../../../common $(EXTRAFLAGS)
all: $(LIB)
$(LIB): $(OBJECTS)
$(AR) -r $@ $(OBJECTS)
$(AR) -r $@ $(OBJECTS)
clean:
$(RM) $(OBJECTS)
$(RM) $(LIB)
$(RM) $(OBJECTS)
$(RM) $(LIB)