forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6484 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
3b9d33abd5
commit
af00170ae1
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue