John Breaux
90ab3166a2
list: * create block, list * create link(), unlink(), init(), print() main: * create main * test list actions
19 lines
200 B
Makefile
19 lines
200 B
Makefile
|
|
CC = g++
|
|
CFLAGS =
|
|
|
|
OBJECTS := %.o list.o
|
|
EXECUTE := main.out
|
|
|
|
.PHONY: all clean
|
|
|
|
all: $(EXECUTE)
|
|
|
|
clean:
|
|
rm $(EXECUTE)
|
|
|
|
%.out: $(OBJECTS)
|
|
$(CC) $(CFLAGS) -o $@ $^
|
|
%.o: %.cpp
|
|
$(CC) $(CFLAGS) -c $<
|