From 96651caeeceeefd90a9449aece0e23599370fe9f Mon Sep 17 00:00:00 2001 From: oskar Date: Sat, 11 May 2024 14:10:11 +0200 Subject: circular doubly linked list, not done yet --- Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index bf658a9..13d1cff 100644 --- a/Makefile +++ b/Makefile @@ -4,33 +4,36 @@ CFLAGS=-O3 -flto -march=native -DNDEBUG -fomit-frame-pointer -s -std=gnu99 TARGET1=s_linkedlist TARGET2=d_linkedlist TARGET3=cs_linkedlist +TARGET4=cd_linkedlist TESTTARGET1=s_linkedlist-t TESTTARGET2=d_linkedlist-t TESTTARGET3=cs_linkedlist-t +TESTTARGET4=cd_linkedlist-t INSTALL_DIRECTORY=/usr/local/bin MAKEFLAGS += -s SRCSL=s_linkedlist.c SRCDL=d_linkedlist.c SRCCSL=cs_linkedlist.c +SRCCDL=cd_linkedlist.c all: release clean: - rm -f $(TARGET1) $(TARGET2) $(TARGET3) - rm -f test/$(TESTTARGET1) test/$(TESTTARGET2) test/$(TESTTARGET3) + rm -f $(TARGET1) $(TARGET2) $(TARGET3) $(TARGET4) + rm -f test/$(TESTTARGET1) test/$(TESTTARGET2) test/$(TESTTARGET3) test/$(TESTTARGET4) tests: $(CC) $(CFLAGS_TESTBIN) $(SRCSL) -o test/$(TESTTARGET1) $(CC) $(CFLAGS_TESTBIN) $(SRCDL) -o test/$(TESTTARGET2) $(CC) $(CFLAGS_TESTBIN) $(SRCCSL) -o test/$(TESTTARGET3) - + $(CC) $(CFLAGS_TESTBIN) $(SRCCDL) -o test/$(TESTTARGET4) release: $(CC) $(CFLAGS) $(SRCSL) -o $(TARGET1) $(CC) $(CFLAGS) $(SRCDL) -o $(TARGET2) $(CC) $(CFLAGS) $(SRCCSL) -o $(TARGET3) - + $(CC) $(CFLAGS) $(SRCCSL) -o $(TARGET4) -- cgit v1.2.3