git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6484 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2011-06-30 16:24:17 +00:00
parent 3b9d33abd5
commit af00170ae1
1 changed files with 6 additions and 2 deletions

View File

@ -100,9 +100,13 @@ lib: $(OBJ)
# Compilation rules
.cpp.o:
%.o:%.cpp
$(CC) $(CCFLAGS) $(EXTRA_INC) -c $<
%.d:%.cpp
$(CC) $(CCFLAGS) $(EXTRA_INC) $(DEPFLAGS) $< > $@
# Individual dependencies
$(OBJ): $(INC)
DEPENDS = $(OBJ:.o=.d)
include $(DEPENDS)