Develop and Download Open Source Software

Browse Subversion Repository

Contents of /PeakSearch_ver1/trunk/makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 18 - (show annotations) (download)
Mon Feb 17 00:58:05 2014 UTC (10 years, 1 month ago) by rtomiyasu
File size: 1263 byte(s)


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
11 PREFLAGS = -MM -MG -P -w
12 CXXFLAGS = $(RELEASE) $(DEBUG) -Wall -c -fmessage-length=0
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_PEAKSEARCH
22 # .o files linked to PeakSearch.exe
23 OBJS_PEAKSEARCH :=
24 -include link_peaksearch.mk
25
26 OBJS_COMMON := $(OBJS_PEAKSEARCH)
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: PeakSearch.exe
36
37 # Tool invocations
38 PeakSearch.exe: $(OBJS_PEAKSEARCH) $(USER_OBJS)
39 @echo 'Building target: $@'
40 @echo 'Invoking: GCC C++ Linker'
41 @echo g++ $(LDFLAGS) -o PeakSearch.exe $(OBJS_PEAKSEARCH) $(USER_OBJS) $(LIBS)
42 @g++ $(LDFLAGS) -o PeakSearch.exe $(OBJS_PEAKSEARCH) $(USER_OBJS) $(LIBS)
43 @echo 'Finished building target: $@'
44 @echo ' '
45
46 # Other Targets
47 clean:
48 rm -rf PeakSearch.exe
49 rm -rf object/*.d object/*.o object/*/*.d object/*/*.o object/*/*/*.d object/*/*/*.o object/*/*/*/*.d object/*/*/*/*.o
50 -@echo ' '
51
52 .PHONY: all clean dependents
53 .SECONDARY:

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