Browse Subversion Repository
Contents of /BLDConograph_ver1/trunk/makefile
Parent Directory
| Revision Log
Revision 19 -
( show annotations)
( download)
Mon Feb 17 01:11:58 2014 UTC
(10 years, 1 month ago)
by rtomiyasu
File size: 1281 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 #-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 BLDConograph.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: BLDConograph.exe |
| 36 |
|
| 37 |
# Tool invocations |
| 38 |
BLDConograph.exe: $(OBJS_INDEXING) $(USER_OBJS) |
| 39 |
@echo 'Building target: $@' |
| 40 |
@echo 'Invoking: GCC C++ Linker' |
| 41 |
@echo g++ $(LDFLAGS) -o BLDConograph.exe $(OBJS_INDEXING) $(USER_OBJS) $(LIBS) |
| 42 |
@g++ $(LDFLAGS) -o BLDConograph.exe $(OBJS_INDEXING) $(USER_OBJS) $(LIBS) |
| 43 |
@echo 'Finished building target: $@' |
| 44 |
@echo ' ' |
| 45 |
|
| 46 |
|
| 47 |
# Other Targets |
| 48 |
clean: |
| 49 |
rm -rf BLDConograph.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: |
|