summaryrefslogtreecommitdiff
path: root/algorithms/list.make
blob: 4d6e6f3f4c59cd7f22f6666183e5ab924089ecd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
CFLAGS += -Wall

.PHONY: all depend clean check install

SRCS = list_test.c list.c
OBJS = list_test.o list.o

all: list_test

list_test: $(OBJS)
	$(CC) -o $@ $(LDFLAGS) $(CFLAGS) $^

depend:
	makedepend -s "# makedepend depends on me"\
	-- $(CFLAGS) -- $(SRCS)

clean:
	rm -f $(OBJS) list_test

check:
	@echo "No checks defined, sorry"

install:
	@echo "Nothing to install yet"