Develop and Download Open Source Software

Browse Subversion Repository

Contents of /Conograph/trunk/makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 33 - (show annotations) (download)
Wed Sep 7 04:38:51 2016 UTC (7 years, 6 months ago) by rtomiyasu
File size: 1262 byte(s)
The output format for base-centered monoclinic cells was corrected.
1 # Makefile
2 # 2007/5/1
3
4 ROOT := src
5
6 RM := rm -rf
7
8 DEBUG = #-g3 -DDEBUG -O0
9 RELEASE = -O3 -DNDEBUG
10 LDFLAGS = -static -fopenmp
11 PREFLAGS = -MM -MG -P -w
12 CXXFLAGS = $(RELEASE) $(DEBUG) -Wall -c -fmessage-length=0 -fopenmp
13
14 # All of the sources participating in the build are defined here
15
16 -include sources.mk
17 -include $(SUBDIRS:%=%/subdir.mk)
18 -include objects.mk
19
20 # 2007/5/1
21 # OBJS_INDEXING
22 # .o files linked to Conograph.exe
23 OBJS_INDEXING :=
24 -include link_indexing.mk
25
26 OBJS_COMMON := $(OBJS_INDEXING)
27
28 ifneq ($(strip $(DEPS)),)
29 -include $(DEPS)
30 endif
31
32 # Add inputs and outputs from these tool invocations to the build variables
33
34 # All Target
35 all: Conograph.exe
36
37 # Tool invocations
38 Conograph.exe: $(OBJS_INDEXING) $(USER_OBJS)
39 @echo 'Building target: $@'
40 @echo 'Invoking: GCC C++ Linker'
41 @echo g++ $(LDFLAGS) -o Conograph.exe $(OBJS_INDEXING) $(USER_OBJS) $(LIBS)
42 @g++ $(LDFLAGS) -o Conograph.exe $(OBJS_INDEXING) $(USER_OBJS) $(LIBS)
43 @echo 'Finished building target: $@'
44 @echo ' '
45
46
47 # Other Targets
48 clean:
49 rm -rf Conograph.exe
50 rm -rf object/*.d object/*.o object/*/*.d object/*/*.o object/*/*/*.d object/*/*/*.o object/*/*/*/*.d object/*/*/*/*.o
51 -@echo ' '
52
53 .PHONY: all clean dependents
54 .SECONDARY:

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26