day 15 part 2 final

This commit is contained in:
2021-12-20 09:54:23 +01:00
parent aace9d72de
commit a84c52fa94
5 changed files with 60 additions and 103 deletions

View File

@@ -20,6 +20,7 @@ CFLAGS += -std=gnu99
CFLAGS += -O2
CFLAGS += -g
#CFLAGS += -pg
CFLAGS += -Wall
CFLAGS += -Wextra
CFLAGS += -march=native
@@ -38,7 +39,7 @@ LIBOBJ := $(patsubst %.c,%.o,$(LIBSRC))
LDFLAGS := -L$(LIBDIR)
LDLIB := -l$(LIB)
.PHONY: clean cleanall all redo output lib $(SUBDIRS)
.PHONY: clean cleanlib cleanall all redo output lib $(SUBDIRS)
all: lib $(SUBDIRS)
@@ -47,9 +48,11 @@ clean:
$(MAKE) --no-print-directory -C $$dir clean ; \
done
cleanall: clean
cleanlib: clean
@$(RM) -f $(SLIB) $(DLIB) $(LIBOBJ)
cleanall: clean cleanlib
redo: cleanall all
$(SUBDIRS):