Skip to content

Commit 5ffd588

Browse files
committed
hp_list: Add another implementation
1 parent 0df93f0 commit 5ffd588

File tree

2 files changed

+419
-2
lines changed

2 files changed

+419
-2
lines changed

hp_list/Makefile

+5-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@ CFLAGS += -fsanitize=thread
44
LIBS = -lpthread
55
BIN = list
66

7-
all: list
7+
all: list list2
88

99
$(BIN): main.c
1010
$(CC) $(CFLAGS) -o $@ $< $(LIBS)
1111

12+
list2: list2.c
13+
$(CC) $(CFLAGS) -o $@ $< $(LIBS)
14+
1215
all: CFLAGS += -O2
1316
all: $(BIN)
1417

@@ -21,4 +24,4 @@ indent:
2124
clang-format -i *.[ch]
2225

2326
clean:
24-
rm -f $(BIN)
27+
rm -f $(BIN) list2

0 commit comments

Comments
 (0)