Commit 6db1a275 authored by mac's avatar mac

Added rule to use CXX to compile .cc files to .o files. Needed for assign.

parent 20f130c4
...@@ -62,9 +62,12 @@ vpath %.c $(SRCDIR) ...@@ -62,9 +62,12 @@ vpath %.c $(SRCDIR)
%.o: %.c %.o: %.c
$(CC) -c -o $@ $(CFLAGS) $< $(CC) -c -o $@ $(CFLAGS) $<
%.o: %.cc
$(CXX) -c -o $@ $(CXXFLAGS) $<
# #
# Rules to regen configure written files. # Rules to regen configure written files.
# #
%: %.in %: %.in
@echo "Regenerating $@" @echo "Regenerating $@"
cd $(OBJDIR) && CONFIG_FILES=$(SUBDIR)/$@ config.status cd $(OBJDIR) && CONFIG_FILES=$(SUBDIR)/$@ config.status
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment