4600-project-1/Makefile
John Breaux 90ab3166a2 Start the project
list:
* create block, list
* create link(), unlink(), init(), print()
main:
* create main
* test list actions
2022-04-03 11:39:40 -05:00

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 $<