X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FMakefile;h=a3de6fe9e7c1030d4d783cc3d5880606ddd9140f;hb=d5188b9694c29e0d776a643965f2461a1fbbe5e1;hp=c81739902b94d01fd48aee8064228149a7595443;hpb=a987e15cfe1daabd3d5ff0d785c8a43aedaea3c3;p=model-checker.git diff --git a/test/Makefile b/test/Makefile index c817399..a3de6fe 100644 --- a/test/Makefile +++ b/test/Makefile @@ -3,12 +3,16 @@ include ../common.mk CPPFLAGS += -I.. -I../include SRCS = $(wildcard *.c) -OBJS = $(patsubst %.c,%.o,$(SRCS)) +CPSRCS = $(wildcard *.cc) +OBJS = $(patsubst %.c,%.o,$(SRCS)) $(patsubst %.cc,%.o,$(CPSRCS)) all: $(OBJS) %.o: %.c $(CC) -o $@ $< $(CPPFLAGS) -L.. -l$(LIB_NAME) +%.o: %.cc + $(CXX) -o $@ $< $(CPPFLAGS) -L.. -l$(LIB_NAME) + clean:: rm -f *.o