Commit code, circa 2006
This commit is contained in:
94
source/.svn/text-base/Makefile.svn-base
Executable file
94
source/.svn/text-base/Makefile.svn-base
Executable file
@@ -0,0 +1,94 @@
|
||||
# Visual SlickEdit generated file. Do not edit this file except in designated areas.
|
||||
# -----Begin user-editable area-----
|
||||
|
||||
# -----End user-editable area-----
|
||||
|
||||
# Make command to use for dependencies
|
||||
MAKECMD=gmake
|
||||
|
||||
# If no configuration is specified, "Debug" will be used
|
||||
ifndef "CFG"
|
||||
CFG=Debug
|
||||
endif
|
||||
|
||||
#
|
||||
# Configuration: Debug
|
||||
#
|
||||
ifeq "$(CFG)" "Debug"
|
||||
OUTDIR=Debug
|
||||
OUTFILE=$(OUTDIR)/gcmbrowser
|
||||
CFG_INC=
|
||||
CFG_LIB=
|
||||
CFG_OBJ=
|
||||
COMMON_OBJ=$(OUTDIR)/gcmbrowser.o
|
||||
OBJ=$(COMMON_OBJ) $(CFG_OBJ)
|
||||
|
||||
COMPILE=g++ -c -g -o "$(OUTDIR)/$(*F).o" $(CFG_INC) "$<"
|
||||
LINK=g++ -g -o "$(OUTFILE)" $(OBJ) $(CFG_LIB)
|
||||
|
||||
# Pattern rules
|
||||
$(OUTDIR)/%.o : source/%.cpp
|
||||
$(COMPILE)
|
||||
|
||||
# Build rules
|
||||
all: $(OUTFILE)
|
||||
|
||||
$(OUTFILE): $(OUTDIR) $(OBJ)
|
||||
$(LINK)
|
||||
|
||||
$(OUTDIR):
|
||||
mkdir -p "$(OUTDIR)"
|
||||
|
||||
# Rebuild this project
|
||||
rebuild: cleanall all
|
||||
|
||||
# Clean this project
|
||||
clean:
|
||||
rm -f source/*o
|
||||
rm -f $(CFG)/*o
|
||||
rm -f $(OUTFILE)
|
||||
|
||||
# Clean this project and all dependencies
|
||||
cleanall: clean
|
||||
endif
|
||||
|
||||
#
|
||||
# Configuration: Release
|
||||
#
|
||||
ifeq "$(CFG)" "Release"
|
||||
OUTDIR=Release
|
||||
OUTFILE=$(OUTDIR)/gcmbrowser
|
||||
CFG_INC=
|
||||
CFG_LIB=
|
||||
CFG_OBJ=
|
||||
COMMON_OBJ=$(OUTDIR)/gcmbrowser.o
|
||||
OBJ=$(COMMON_OBJ) $(CFG_OBJ)
|
||||
|
||||
COMPILE=g++ -c -o "$(OUTDIR)/$(*F).o" $(CFG_INC) "$<"
|
||||
LINK=g++ -o "$(OUTFILE)" $(OBJ) $(CFG_LIB)
|
||||
|
||||
# Pattern rules
|
||||
$(OUTDIR)/%.o : source/%.cpp
|
||||
$(COMPILE)
|
||||
|
||||
# Build rules
|
||||
all: $(OUTFILE)
|
||||
|
||||
$(OUTFILE): $(OUTDIR) $(OBJ)
|
||||
$(LINK)
|
||||
|
||||
$(OUTDIR):
|
||||
mkdir -p "$(OUTDIR)"
|
||||
|
||||
# Rebuild this project
|
||||
rebuild: cleanall all
|
||||
|
||||
# Clean this project
|
||||
clean:
|
||||
rm -f source/*o
|
||||
rm -f $(CFG)/*o
|
||||
rm -f $(OUTFILE)
|
||||
|
||||
# Clean this project and all dependencies
|
||||
cleanall: clean
|
||||
endif
|
||||
Reference in New Issue
Block a user