csci3081/repo-zhan4854/exercises/dynamicallocation/Makefile
Michael Zhang 1ba4536588
f
2018-01-29 17:24:20 -06:00

16 lines
294 B
Makefile

# CSCI3081 In-Class Exercise dynamic allocation and arrays
CC = g++
DEBUG = -g
CFLAGS = -Wall -c $(DEBUG)
LFLAGS = -Wall $(DEBUG)
OBJS = array_pointer_test.o duck.o
all: main.o $(OBJS)
$(CC) $(LFLAGS) -o ducks main.o $(OBJS)
%.o : %.cc
$(CC) $(CFLAGS) -o $@ $<
clean:
\rm *.o *.*~ ducks