csci3081/testing/Makefile

18 lines
305 B
Makefile
Raw Normal View History

2018-01-29 23:24:20 +00:00
# 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