X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FMakefile;h=a3de6fe9e7c1030d4d783cc3d5880606ddd9140f;hb=2e067c102b91db06977412388b69d06a0c0b7166;hp=a0b6d6e4ac9829bb6184e41c6cc5bca8b064c03e;hpb=d1930060e483b841f0a9c35c5041035dbdf6de4a;p=model-checker.git diff --git a/test/Makefile b/test/Makefile index a0b6d6e..a3de6fe 100644 --- a/test/Makefile +++ b/test/Makefile @@ -2,15 +2,17 @@ include ../common.mk CPPFLAGS += -I.. -I../include -# Mac OSX options - 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