Browse Subversion Repository
Contents of /Conograph/trunk/object/qc/subdir.mk
Parent Directory
| Revision Log
Revision 33 -
( show annotations)
( download)
Wed Sep 7 04:38:51 2016 UTC
(7 years, 6 months ago)
by rtomiyasu
File size: 822 byte(s)
The output format for base-centered monoclinic cells was corrected.
| 1 |
|
| 2 |
# Add inputs and outputs from these tool invocations to the build variables |
| 3 |
CC_SRCS += \ |
| 4 |
$(ROOT)/qc/gather_qcal2.cc \ |
| 5 |
$(ROOT)/qc/reflection_conditions.cc \ |
| 6 |
$(ROOT)/qc/p_out_space_group_dtm.cc \ |
| 7 |
|
| 8 |
OBJS += \ |
| 9 |
object/qc/gather_qcal2.o \ |
| 10 |
object/qc/reflection_conditions.o \ |
| 11 |
object/qc/p_out_space_group_dtm.o \ |
| 12 |
|
| 13 |
DEPS += \ |
| 14 |
${addprefix object/qc/, \ |
| 15 |
gather_qcal2.d \ |
| 16 |
reflection_conditions.d \ |
| 17 |
p_out_space_group_dtm.d \ |
| 18 |
} |
| 19 |
|
| 20 |
|
| 21 |
# Each subdirectory must supply rules for building sources it contributes |
| 22 |
object/qc/%.o: $(ROOT)/qc/%.cc |
| 23 |
@echo 'Building file: $<' |
| 24 |
@echo 'Invoking: GCC C++ Compiler' |
| 25 |
@echo g++ $(CXXFLAGS) -o$@ $< |
| 26 |
@g++ $(CXXFLAGS) -o$@ $< && \ |
| 27 |
echo -n $(@:%.o=%.d) $(dir $@) > $(@:%.o=%.d) && \ |
| 28 |
g++ $(PREFLAGS) $(CXXFLAGS) $< >> $(@:%.o=%.d) |
| 29 |
@echo 'Finished building: $<' |
| 30 |
@echo ' ' |
| 31 |
|
| 32 |
|
|