csci3081/testing/Makefile
Michael Zhang 1ba4536588
f
2018-01-29 17:24:20 -06:00

17 lines
305 B
Makefile

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