Commit 13de919b authored by Zhaozhong Liu's avatar Zhaozhong Liu
Browse files

Lab 0.1 completed

parent 38595ced
CC = gcc
CFLAGS = -std=gnu99 -Wall -g #-DDEBUG
EXECS = dlisttest
all: $(EXECS)
dnode.o: dnode.c dnode.h
$(CC) $(CFLAGS) -c dnode.c dnode.h
dlist.o: dlist.h dlist.c dnode.h
$(CC) $(CFLAGS) -c dlist.h dlist.c dnode.h
dlisttest: dlisttest.c dnode.o dlist.o
$(CC) $(CFLAGS) dlisttest.c dnode.o dlist.o -o dlisttest
.PHONY: clean
/bin/rm -rf $(EXECS) dnode.o dlist.o
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment