-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0f39c8a
commit 0bf6829
Showing
11 changed files
with
798 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
#------------------------------------------------------------------------------# | ||
# This makefile was generated by 'cbp2make' tool rev.147 # | ||
#------------------------------------------------------------------------------# | ||
|
||
|
||
WORKDIR = `pwd` | ||
|
||
CC = gcc | ||
CXX = g++ | ||
AR = ar | ||
LD = g++ | ||
WINDRES = windres | ||
|
||
INC = | ||
CFLAGS = -Wall `sdl-config --cflags` | ||
RESINC = | ||
LIBDIR = | ||
LIB = -lSDL_image -lSDL_mixer | ||
LDFLAGS = `sdl-config --libs` | ||
|
||
INC_DEBUG = $(INC) | ||
CFLAGS_DEBUG = $(CFLAGS) -g | ||
RESINC_DEBUG = $(RESINC) | ||
RCFLAGS_DEBUG = $(RCFLAGS) | ||
LIBDIR_DEBUG = $(LIBDIR) | ||
LIB_DEBUG = $(LIB) | ||
LDFLAGS_DEBUG = $(LDFLAGS) | ||
OBJDIR_DEBUG = obj/Debug | ||
DEP_DEBUG = | ||
OUT_DEBUG = bin/Debug/SelectNetwork | ||
|
||
INC_RELEASE = $(INC) | ||
CFLAGS_RELEASE = $(CFLAGS) -O2 | ||
RESINC_RELEASE = $(RESINC) | ||
RCFLAGS_RELEASE = $(RCFLAGS) | ||
LIBDIR_RELEASE = $(LIBDIR) | ||
LIB_RELEASE = $(LIB) | ||
LDFLAGS_RELEASE = $(LDFLAGS) -s | ||
OBJDIR_RELEASE = obj/Release | ||
DEP_RELEASE = | ||
OUT_RELEASE = bin/Release/SelectNetwork | ||
|
||
OBJ_DEBUG = $(OBJDIR_DEBUG)/__/common/common.o $(OBJDIR_DEBUG)/__/common/ini.o $(OBJDIR_DEBUG)/__/common/sdlbutton.o $(OBJDIR_DEBUG)/main.o | ||
|
||
OBJ_RELEASE = $(OBJDIR_RELEASE)/__/common/common.o $(OBJDIR_RELEASE)/__/common/ini.o $(OBJDIR_RELEASE)/__/common/sdlbutton.o $(OBJDIR_RELEASE)/main.o | ||
|
||
all: debug release | ||
|
||
clean: clean_debug clean_release | ||
|
||
before_debug: | ||
test -d bin/Debug || mkdir -p bin/Debug | ||
test -d $(OBJDIR_DEBUG)/__/common || mkdir -p $(OBJDIR_DEBUG)/__/common | ||
test -d $(OBJDIR_DEBUG) || mkdir -p $(OBJDIR_DEBUG) | ||
|
||
after_debug: | ||
|
||
debug: before_debug out_debug after_debug | ||
|
||
out_debug: before_debug $(OBJ_DEBUG) $(DEP_DEBUG) | ||
$(LD) $(LIBDIR_DEBUG) -o $(OUT_DEBUG) $(OBJ_DEBUG) $(LDFLAGS_DEBUG) $(LIB_DEBUG) | ||
|
||
$(OBJDIR_DEBUG)/__/common/common.o: ../common/common.cpp | ||
$(CXX) $(CFLAGS_DEBUG) $(INC_DEBUG) -c ../common/common.cpp -o $(OBJDIR_DEBUG)/__/common/common.o | ||
|
||
$(OBJDIR_DEBUG)/__/common/ini.o: ../common/ini.c | ||
$(CC) $(CFLAGS_DEBUG) $(INC_DEBUG) -c ../common/ini.c -o $(OBJDIR_DEBUG)/__/common/ini.o | ||
|
||
$(OBJDIR_DEBUG)/__/common/sdlbutton.o: ../common/sdlbutton.cpp | ||
$(CXX) $(CFLAGS_DEBUG) $(INC_DEBUG) -c ../common/sdlbutton.cpp -o $(OBJDIR_DEBUG)/__/common/sdlbutton.o | ||
|
||
$(OBJDIR_DEBUG)/main.o: main.cpp | ||
$(CXX) $(CFLAGS_DEBUG) $(INC_DEBUG) -c main.cpp -o $(OBJDIR_DEBUG)/main.o | ||
|
||
clean_debug: | ||
rm -f $(OBJ_DEBUG) $(OUT_DEBUG) | ||
rm -rf bin/Debug | ||
rm -rf $(OBJDIR_DEBUG)/__/common | ||
rm -rf $(OBJDIR_DEBUG) | ||
|
||
before_release: | ||
test -d bin/Release || mkdir -p bin/Release | ||
test -d $(OBJDIR_RELEASE)/__/common || mkdir -p $(OBJDIR_RELEASE)/__/common | ||
test -d $(OBJDIR_RELEASE) || mkdir -p $(OBJDIR_RELEASE) | ||
|
||
after_release: | ||
|
||
release: before_release out_release after_release | ||
|
||
out_release: before_release $(OBJ_RELEASE) $(DEP_RELEASE) | ||
$(LD) $(LIBDIR_RELEASE) -o $(OUT_RELEASE) $(OBJ_RELEASE) $(LDFLAGS_RELEASE) $(LIB_RELEASE) | ||
|
||
$(OBJDIR_RELEASE)/__/common/common.o: ../common/common.cpp | ||
$(CXX) $(CFLAGS_RELEASE) $(INC_RELEASE) -c ../common/common.cpp -o $(OBJDIR_RELEASE)/__/common/common.o | ||
|
||
$(OBJDIR_RELEASE)/__/common/ini.o: ../common/ini.c | ||
$(CC) $(CFLAGS_RELEASE) $(INC_RELEASE) -c ../common/ini.c -o $(OBJDIR_RELEASE)/__/common/ini.o | ||
|
||
$(OBJDIR_RELEASE)/__/common/sdlbutton.o: ../common/sdlbutton.cpp | ||
$(CXX) $(CFLAGS_RELEASE) $(INC_RELEASE) -c ../common/sdlbutton.cpp -o $(OBJDIR_RELEASE)/__/common/sdlbutton.o | ||
|
||
$(OBJDIR_RELEASE)/main.o: main.cpp | ||
$(CXX) $(CFLAGS_RELEASE) $(INC_RELEASE) -c main.cpp -o $(OBJDIR_RELEASE)/main.o | ||
|
||
clean_release: | ||
rm -f $(OBJ_RELEASE) $(OUT_RELEASE) | ||
rm -rf bin/Release | ||
rm -rf $(OBJDIR_RELEASE)/__/common | ||
rm -rf $(OBJDIR_RELEASE) | ||
|
||
.PHONY: before_debug after_debug clean_debug before_release after_release clean_release | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.