Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

1075795 Posts in 44145 Topics- by 36116 Members - Latest Member: Bhuiya

December 29, 2014, 05:09:56 AM
  Show Posts
Pages: 1 ... 15 16 [17] 18 19 ... 31
321  Developer / Technical / Re: The grumpy old programmer room on: July 08, 2012, 12:00:56 PM
Good thing that I don't want to pigeon hole myself into a deflated and self-righteous subculture.
322  Player / General / Re: Batman on: July 08, 2012, 11:38:58 AM
ice to meet you
323  Developer / Technical / Re: The grumpy old programmer room on: July 08, 2012, 11:38:05 AM
Fuck your scons and automake bullshit, learn to write your own makefiles you slack underachievers.

Code:
# Brain Damage Make Version 0.4.0.0

# Settings

# Makefile Macros
GCC  := b:/mingw/bin/g++
DATE := b:/mingw/bin/date.exe
ECHO := b:/mingw/bin/echo.exe
MAKE := make -j

# Project Name
PROJ := barbarian

# Build Configurations

# Default Build
default:
$(ECHO) No arguments specified. Please select 'debug', 'release', 'clean' or 'complete'.

# Debug Build
debug:
$(ECHO) [] Brain Damage Make Version 0.4.0.0
$(ECHO) │ └─{■} Build Configuration [DEBUG]
$(MAKE) bdapi_debug
$(MAKE) bdtools_debug
$(MAKE) proj_debug
$(ECHO) └─[] Debug Build Complete

# Release Build
release:
$(ECHO) [] Brain Damage Make Version 0.4.0.0
$(ECHO) │ └─{■} Build Configuration [RELEASE]
$(MAKE) bdapi_release
$(MAKE) bdtools_release
$(MAKE) proj_release
$(ECHO) └─[] Release Build Complete

# Clean
clean:
$(ECHO) [] Brain Damage Make Version 0.4.0.0
$(ECHO) │ └─{■} Build Configuration [CLEAN]
$(MAKE) bdapi_clean
$(MAKE) bdtools_clean
$(MAKE) proj_clean
$(ECHO) └─[] Clean Complete

# Complete Build
complete:
$(MAKE) clean
$(MAKE) debug
$(MAKE) release

# Parameters

# Global Parameters
GLOBAL_INC := -isystem '../includes/' -isystem '../includes/gme/' -isystem '../includes/sdl/'
GLOBAL_LIB := -L '../libraries/win/' -static-libgcc -static-libstdc++
GLOBAL_ARG := $(GLOBAL_INC) -ftabstop=2 -funsigned-char -m96bit-long-double -mfpmath=sse -mieee-fp -msse -msse2 -Wno-comment

# Global Debug Parameters
#GLOBAL_DBG_ARG := $(GLOBAL_ARG) -DBUILD_DEBUG -Wfatal-errors
GLOBAL_DBG_ARG := $(GLOBAL_ARG) -DBUILD_DEBUG -gstabs2 -Wdiv-by-zero -Wendif-labels -Wextra -Wfatal-errors -Wformat -Winit-self -Winline -Wmissing-braces -Wno-type-limits -Wredundant-decls -Wreturn-type -Wsequence-point -Wno-sign-compare -Wunknown-pragmas -Wno-unreachable-code
GLOBAL_DBG_LIB := $(GLOBAL_LIB) -lbdapi_win_dbg -lboost_date_time-mgw45-mt-s-1_45 -lboost_thread-mgw45-mt-s-1_45 -lcomctl32 -lgdi32 -lglew -lglu32 -lgme -limm32 -lmingw32 -lm -lole32 -loleaut32 -lopengl32 -lpdcurses -lpng -lSDL_mixer -lSDLmain -lSDL -luuid -lversion -lwinmm -lwinspool -lws2_32 -lwsock32 -lz -mwindows

# Global Release Parameters
GLOBAL_REL_ARG := $(GLOBAL_ARG) -DBUILD_RELEASE -finline-limit=65536 -minline-all-stringops -O3
GLOBAL_REL_LIB := $(GLOBAL_LIB) -lbdapi_win_rel -lboost_date_time-mgw45-mt-s-1_45 -lboost_thread-mgw45-mt-s-1_45 -lcomctl32 -lgdi32 -lglew -lglu32 -lgme -limm32 -lmingw32 -lm -lole32 -loleaut32 -lopengl32 -lpdcurses -lpng -lSDL_mixer -lSDLmain -lSDL -luuid -lversion -lwinmm -lwinspool -lws2_32 -lwsock32 -lz -mwindows

# BDAPI

# BDAPI Files

# BDAPI Source Files
BDAPI_SRC := $(sort $(wildcard bdapi/src/*.cpp) )
BDAPI_SFX := $(sort $(wildcard bdapi/data/bdsfx/*.sfx) )

# BDAPI Object Files
BDAPI_WIN_DBG_DEP := $(patsubst bdapi/src/%.cpp,bdapi/build/win/debug/%.d,$(BDAPI_SRC))
BDAPI_WIN_REL_DEP := $(patsubst bdapi/src/%.cpp,bdapi/build/win/release/%.d,$(BDAPI_SRC))
BDAPI_WIN_DBG_OBJ := $(patsubst bdapi/src/%.cpp,bdapi/obj/win/debug/%.o,$(BDAPI_SRC))
BDAPI_WIN_REL_OBJ := $(patsubst bdapi/src/%.cpp,bdapi/obj/win/release/%.o,$(BDAPI_SRC))

# BDAPI Binary Files
BDAPI_WIN_DBG_LIB := bdapi/lib/libbdapi_win_dbg.a
BDAPI_WIN_REL_LIB := bdapi/lib/libbdapi_win_rel.a

# BDAPI Dependencies

bdapi_win_dbg_dep: $(BDAPI_WIN_DBG_DEP)
bdapi_win_rel_dep: $(BDAPI_WIN_REL_DEP)
bdapi_win_dbg_obj: $(BDAPI_WIN_DBG_OBJ)
bdapi_win_rel_obj: $(BDAPI_WIN_REL_OBJ)
bdapi_win_dbg_lib: $(BDAPI_WIN_DBG_LIB)
bdapi_win_rel_lib: $(BDAPI_WIN_REL_LIB)

# BDAPI Build Orders

# BDAPI Debug Header Dependencies
bdapi/build/win/debug/%.d: bdapi/src/%.cpp
$(GCC) -MM -MF $@ -MT $(subst .d,.o,$(subst build,obj,$@)) $(GLOBAL_DBG_ARG) -I 'bdapi/src/' $<

# BDAPI Release Header Dependencies
bdapi/build/win/release/%.d: bdapi/src/%.cpp
$(GCC) -MM -MF $@ -MT $(subst .d,.o,$(subst build,obj,$@)) $(GLOBAL_REL_ARG) -I 'bdapi/src/' $<

# BDAPI Debug Object Files
bdapi/obj/win/debug/%.o: bdapi/src/%.cpp
$(ECHO) │ │ ├─[] [D] Compiling '"$(subst bdapi/src/,,$<)"' ...
$(GCC) -c $(GLOBAL_DBG_ARG) -I 'bdapi/src/' $< -o $@

# BDAPI Release Object Files
bdapi/obj/win/release/%.o: bdapi/src/%.cpp
$(ECHO) │ │ ├─[] [R] Compiling '"$(subst bdapi/src/,,$<)"' ...
$(GCC) -c $(GLOBAL_REL_ARG) -I 'bdapi/src/' $< -o $@

# BDAPI Debug Archive Files
$(BDAPI_WIN_DBG_LIB): $(BDAPI_WIN_DBG_OBJ)
$(ECHO) │ │ └─[] [D] Archiving '"$(subst bdapi/lib/,,$@)"' ...
ar -ruc $(BDAPI_WIN_DBG_LIB) $(BDAPI_WIN_DBG_OBJ)
ranlib $(BDAPI_WIN_DBG_LIB)
cp -fu $(BDAPI_WIN_DBG_LIB) ../libraries/win/libbdapi_win_dbg.a

# BDAPI Release Archive Files
$(BDAPI_WIN_REL_LIB): $(BDAPI_WIN_REL_OBJ)
$(ECHO) │ │ └─[] [R] Archiving '"$(subst bdapi/lib/,,$@)"' ...
ar -ruc $(BDAPI_WIN_REL_LIB) $(BDAPI_WIN_REL_OBJ)
ranlib $(BDAPI_WIN_REL_LIB)
cp -fu $(BDAPI_WIN_REL_LIB) ../libraries/win/libbdapi_win_rel.a

# BDAPI Build Definitions

# BDAPI Debug Build
bdapi_debug:
$(ECHO) ├─[] BDAPI Debug Build Version 0.4.0.0
$(ECHO) │ ├─[] Building ...
$(MAKE) bdapi_win_dbg_lib
$(ECHO) │ └─[] Done !

# BDAPI Release Build
bdapi_release:
$(ECHO) ├─[] BDAPI Release Build Version 0.4.0.0
$(ECHO) │ ├─[] Building ...
$(MAKE) bdapi_win_rel_lib
$(ECHO) │ └─[] Done !

# BDAPI Clean
bdapi_clean:
$(ECHO) ├─[] BDAPI Version 0.4.0.0
$(ECHO) │ ├─[] Cleaning ...
$(ECHO) │ │ ├─[] [C] Deleting Dependency Heirarchy ...
rm -f $(wildcard bdapi/build/win/debug/*.d)
rm -f $(wildcard bdapi/build/win/release/*.d)
$(ECHO) │ │ ├─[] [C] Deleting Object Files ...
rm -f $(wildcard bdapi/obj/win/debug/*.o)
rm -f $(wildcard bdapi/obj/win/release/*.o)
$(ECHO) │ │ └─[] [C] Deleting Library Files ...
rm -f bdapi/lib/libbdapi_win_dbg.a
rm -f bdapi/lib/libbdapi_win_rel.a
rm -f ../libraries/win/libbdapi_win_dbg.a
rm -f ../libraries/win/libbdapi_win_rel.a
$(ECHO) │ └─[] Done !

# BDTOOLS

# BDTOOLS Files

# BDTOOLS Source Files
BDTOOLS_SRC := $(sort $(wildcard bdtools/src/*.cpp) )

# BDTOOLS Object Files
BDTOOLS_WIN_DBG_DEP := $(patsubst bdtools/src/%.cpp,bdtools/build/win/debug/%.d,$(BDTOOLS_SRC))
BDTOOLS_WIN_REL_DEP := $(patsubst bdtools/src/%.cpp,bdtools/build/win/release/%.d,$(BDTOOLS_SRC))
BDTOOLS_WIN_DBG_OBJ := $(patsubst bdtools/src/%.cpp,bdtools/obj/win/debug/%.o,$(BDTOOLS_SRC))
BDTOOLS_WIN_REL_OBJ := $(patsubst bdtools/src/%.cpp,bdtools/obj/win/release/%.o,$(BDTOOLS_SRC))

# BDTOOLS Binary Files
BDTOOLS_WIN_DBG_EXE := $(patsubst bdtools/src/%.cpp,bdtools/bin/win/debug/%.exe,$(BDTOOLS_SRC))
BDTOOLS_WIN_REL_EXE := $(patsubst bdtools/src/%.cpp,bdtools/bin/win/release/%.exe,$(BDTOOLS_SRC))

# BDTOOLS Dependencies

bdtools_win_dbg_dep: $(BDTOOLS_WIN_DBG_DEP)
bdtools_win_rel_dep: $(BDTOOLS_WIN_REL_DEP)
bdtools_win_dbg_obj: $(BDTOOLS_WIN_DBG_OBJ)
bdtools_win_rel_obj: $(BDTOOLS_WIN_REL_OBJ)
bdtools_win_dbg_exe: $(BDTOOLS_WIN_DBG_EXE)
bdtools_win_rel_exe: $(BDTOOLS_WIN_REL_EXE)

# BDTOOLS Build Orders

# BDTOOLS Debug Header Dependencies
bdtools/build/win/debug/%.d: bdtools/src/%.cpp
$(GCC) -MM -MF $@ -MT $(subst .d,.o,$(subst build,obj,$@)) $(GLOBAL_DBG_ARG) -isystem 'bdapi/src/' $<

# BDTOOLS Release Header Dependencies
bdtools/build/win/release/%.d: bdtools/src/%.cpp
$(GCC) -MM -MF $@ -MT $(subst .d,.o,$(subst build,obj,$@)) $(GLOBAL_REL_ARG) -isystem 'bdapi/src/' $<

# BDTOOLS Debug Object Files
bdtools/obj/win/debug/%.o: bdtools/src/%.cpp
$(ECHO) │ │ ├─[] [D] Compiling '"$(subst bdtools/src/,,$<)"' ...
$(GCC) -c $(GLOBAL_DBG_ARG) -isystem 'bdapi/src/' $< -o $@

# BDTOOLS Release Object Files
bdtools/obj/win/release/%.o: bdtools/src/%.cpp
$(ECHO) │ │ ├─[] [R] Compiling '"$(subst bdtools/src/,,$<)"' ...
$(GCC) -c $(GLOBAL_REL_ARG) -isystem 'bdapi/src/' $< -o $@

# BDTOOLS Debug Binary Files
bdtools/bin/win/debug/%.exe: bdtools/obj/win/debug/%.o
$(ECHO) │ │ ├─[] [D] Linking '"$(subst bdtools/bin/win/debug/,,$@)"' ...
$(GCC) $< -o $@ $(GLOBAL_DBG_LIB)

# BDTOOLS Release Binary Files
bdtools/bin/win/release/%.exe: bdtools/obj/win/release/%.o
$(ECHO) │ │ ├─[] [R] Linking '"$(subst bdtools/bin/win/release/,,$@)"' ...
$(GCC) $< -o $@ $(GLOBAL_REL_LIB)
strip $@
upx --best -qqq $@

# BDTOOLS Build Definitions

# BDTOOLS Debug Build
bdtools_debug:
$(ECHO) ├─[] BDTools Debug Build Version 0.4.0.0
$(ECHO) │ ├─[] Building ...
$(MAKE) bdtools_win_dbg_exe
$(ECHO) │ └─[] Done !

# BDTOOLS Release Build
bdtools_release:
$(ECHO) ├─[] BDTools Release Build Version 0.4.0.0
$(ECHO) │ ├─[] Building ...
$(MAKE) bdtools_win_rel_exe
$(ECHO) │ └─[] Done !

# BDTOOLS Clean
bdtools_clean:
$(ECHO) ├─[] BDTools Version 0.4.0.0
$(ECHO) │ ├─[] Cleaning ...
$(ECHO) │ │ ├─[] [C] Deleting Dependency Heirarchy ...
rm -f $(wildcard bdtools/build/win/debug/*.d)
rm -f $(wildcard bdtools/build/win/release/*.d)
$(ECHO) │ │ ├─[] [C] Deleting Object Files ...
rm -f $(wildcard bdtools/obj/win/debug/*.o)
rm -f $(wildcard bdtools/obj/win/release/*.o)
$(ECHO) │ │ └─[] [C] Deleting Executable Files ...
rm -f $(wildcard bdtools/bin/win/debug/*.exe)
rm -f $(wildcard bdtools/bin/win/release/*.exe)
rm -f $(wildcard bdtools/bin/win/release/*.upx)
$(ECHO) │ └─[] Done !

# Project

# Project Files

# Project Source Files
PROJ_SRC     := $(sort $(wildcard $(PROJ)/src/*.cpp) )
PROJ_8BI     := $(sort $(wildcard $(PROJ)/data/bd8bi/*.tga) )
PROJ_IMG     := $(sort $(wildcard $(PROJ)/data/bdimg/*.tga) )
PROJ_PAL     := $(sort $(wildcard $(PROJ)/data/bdpal/*.tga) )
PROJ_RSI     := $(sort $(wildcard $(PROJ)/data/bdrsi/*.rsi) )
PROJ_RSP     := $(sort $(wildcard $(PROJ)/data/bdrsp/*.rsp) )
PROJ_RSS     := $(sort $(wildcard $(PROJ)/data/bdrss/*.rss) )
PROJ_SFX     := $(sort $(wildcard $(PROJ)/data/bdsfx/*.sfx) ) $(sort $(wildcard bdapi/data/bdsfx/*.sfx) )
PROJ_SWT     := $(sort $(wildcard $(PROJ)/data/bdswt/*.tga) )
PROJ_PALETTE := $(PROJ)/data/bdpal/sampler_palette.tga

# Project Object Files
PROJ_WIN_DBG_DEP := $(patsubst $(PROJ)/src/%.cpp,$(PROJ)/build/win/debug/%.d,$(PROJ_SRC))
PROJ_WIN_REL_DEP := $(patsubst $(PROJ)/src/%.cpp,$(PROJ)/build/win/release/%.d,$(PROJ_SRC))
PROJ_WIN_DBG_OBJ := $(patsubst $(PROJ)/src/%.cpp,$(PROJ)/obj/win/debug/%.o,$(PROJ_SRC))
PROJ_WIN_REL_OBJ := $(patsubst $(PROJ)/src/%.cpp,$(PROJ)/obj/win/release/%.o,$(PROJ_SRC))

# Project Binary Files
PROJ_WIN_DBG_EXE := $(PROJ)/bin/win/debug/$(PROJ).exe
PROJ_WIN_REL_EXE := $(PROJ)/bin/win/release/$(PROJ).exe

# Project Data Files
PROJ_WIN_8BI := $(patsubst $(PROJ)/data/bd8bi/%.tga,$(PROJ)/bin/win/release/data/%.bd8bi,$(PROJ_8BI))
PROJ_WIN_IMG := $(patsubst $(PROJ)/data/bdimg/%.tga,$(PROJ)/bin/win/release/data/%.bdimg,$(PROJ_IMG))
PROJ_WIN_PAL := $(patsubst $(PROJ)/data/bdpal/%.tga,$(PROJ)/bin/win/release/data/%.bdpal,$(PROJ_PAL))
PROJ_WIN_RSI := $(patsubst $(PROJ)/data/bdrsi/%.rsi,$(PROJ)/bin/win/release/data/%.bdrsi,$(PROJ_RSI))
PROJ_WIN_RSP := $(patsubst $(PROJ)/data/bdrsp/%.rsp,$(PROJ)/bin/win/release/data/%.bdrsp,$(PROJ_RSP))
PROJ_WIN_RSS := $(patsubst $(PROJ)/data/bdrss/%.rss,$(PROJ)/bin/win/release/data/%.bdrss,$(PROJ_RSS))
PROJ_WIN_SFX := $(patsubst $(PROJ)/data/bdsfx/%.sfx,$(PROJ)/bin/win/release/data/%.bdsfx,$(PROJ_SFX)) $(patsubst bdapi/data/bdsfx/%.sfx,$(PROJ)/bin/win/release/data/%.bdsfx,$(BDAPI_SFX))
PROJ_WIN_SWT := $(patsubst $(PROJ)/data/bdswt/%.tga,$(PROJ)/bin/win/release/data/%.bdswt,$(PROJ_SWT))

# Project Dependencies

# Project Build Specific Dependencies
proj_win_dbg_dep: $(PROJ_WIN_DBG_DEP)
proj_win_rel_dep: $(PROJ_WIN_REL_DEP)
proj_win_dbg_obj: $(PROJ_WIN_DBG_OBJ)
proj_win_rel_obj: $(PROJ_WIN_REL_OBJ)
proj_win_dbg_exe: $(PROJ_WIN_DBG_EXE)
proj_win_rel_exe: $(PROJ_WIN_REL_EXE)

# Project Global Dependencies
proj_win_8bi: $(PROJ_WIN_8BI)
proj_win_img: $(PROJ_WIN_IMG)
proj_win_pal: $(PROJ_WIN_PAL)
proj_win_rsi: $(PROJ_WIN_RSI)
proj_win_rsp: $(PROJ_WIN_RSP)
proj_win_rss: $(PROJ_WIN_RSS)
proj_win_sfx: $(PROJ_WIN_SFX)
proj_win_swt: $(PROJ_WIN_SWT)

# Project Build Orders

# Project Debug Header Dependencies
$(PROJ)/build/win/debug/%.d: $(PROJ)/src/%.cpp
$(GCC) -MM -MF $@ -MT $(subst .d,.o,$(subst build,obj,$@)) $(GLOBAL_DBG_ARG) -I 'bdapi/src/' $<

# Project Release Header Dependencies
$(PROJ)/build/win/release/%.d: $(PROJ)/src/%.cpp
$(GCC) -MM -MF $@ -MT $(subst .d,.o,$(subst build,obj,$@)) $(GLOBAL_REL_ARG) -I 'bdapi/src/' $<

# Project Debug Object Files
$(PROJ)/obj/win/debug/%.o: $(PROJ)/src/%.cpp
$(ECHO) │ │ ├─[] [D] Compiling '"$(subst $(PROJ)/src/,,$<)"' ...
$(GCC) -c $(GLOBAL_DBG_ARG) -I 'bdapi/src/' $< -o $@

# Project Release Object Files
$(PROJ)/obj/win/release/%.o: $(PROJ)/src/%.cpp
$(ECHO) │ │ ├─[] [R] Compiling '"$(subst $(PROJ)/src/,,$<)"' ...
$(GCC) -c $(GLOBAL_REL_ARG) -I 'bdapi/src/' $< -o $@

# Project Debug Binary Files
$(PROJ_WIN_DBG_EXE): $(PROJ_WIN_DBG_OBJ) $(BDAPI_WIN_DBG_LIB)
$(ECHO) │ │ └─[] [D] Linking '"$(subst $(PROJ)/bin/win/debug/,,$@)"' ...
$(GCC) $(PROJ_WIN_DBG_OBJ) -o $@ $(GLOBAL_DBG_LIB) $(GLOBAL_DBG_LIB)

# Project Release Binary Files
$(PROJ_WIN_REL_EXE): $(PROJ_WIN_REL_OBJ) $(BDAPI_WIN_REL_LIB)
$(ECHO) │ │ └─[] [R] Linking '"$(subst $(PROJ)/bin/win/release/,,$@)"' ...
$(GCC) $(PROJ_WIN_REL_OBJ) -o $@ $(GLOBAL_REL_LIB) $(GLOBAL_REL_LIB)
strip $@
upx --best -qqq $@

# Project 8-Bit Image Files
$(PROJ)/bin/win/release/data/%.bd8bi: $(PROJ)/data/bd8bi/%.tga
$(ECHO) │ │ ├─[] [R] Saving '"$(subst $(PROJ)/bin/win/release/data/,,$@)"' ...
bdtools/bin/win/debug/bd8bicnv.exe $<
mv -f $(subst .tga,.bd8bi,$<) $@

# Project Image Files
$(PROJ)/bin/win/release/data/%.bdimg: $(PROJ)/data/bdimg/%.tga
$(ECHO) │ │ ├─[] [R] Saving '"$(subst $(PROJ)/bin/win/release/data/,,$@)"' ...
bdtools/bin/win/debug/bdimgcnv.exe $<
mv -f $(subst .tga,.bdimg,$<) $@

# Project Palette Files
$(PROJ)/bin/win/release/data/%.bdpal: $(PROJ)/data/bdpal/%.tga
$(ECHO) │ │ ├─[] [R] Saving '"$(subst $(PROJ)/bin/win/release/data/,,$@)"' ...
bdtools/bin/win/debug/bdpalcnv.exe $<
mv -f $(subst .tga,.bdpal,$<) $@

# Project RSI Instrument Files
$(PROJ)/bin/win/release/data/%.bdrsi: $(PROJ)/data/bdrsi/%.rsi
$(ECHO) │ │ ├─[] [R] Saving '"$(subst $(PROJ)/bin/win/release/data/,,$@)"' ...
cp -fu $< $@

# Project RSP Parameter Files
$(PROJ)/bin/win/release/data/%.bdrsp: $(PROJ)/data/bdrsp/%.rsp
$(ECHO) │ │ ├─[] [R] Saving '"$(subst $(PROJ)/bin/win/release/data/,,$@)"' ...
cp -fu $< $@

# Project RSS Sample Files
$(PROJ)/bin/win/release/data/%.bdrss: $(PROJ)/data/bdrss/%.rss
$(ECHO) │ │ ├─[] [R] Saving '"$(subst $(PROJ)/bin/win/release/data/,,$@)"' ...
cp -fu $< $@

# Project Shader Files 1
$(PROJ)/bin/win/release/data/%.bdsfx: $(PROJ)/data/bdsfx/%.sfx
$(ECHO) │ │ ├─[] [R] Saving '"$(subst $(PROJ)/bin/win/release/data/,,$@)"' ...
cp -fu $< $@

# Project Shader Files 2
$(PROJ)/bin/win/release/data/%.bdsfx: bdapi/data/bdsfx/%.sfx
$(ECHO) │ │ ├─[] [R] Saving '"$(subst $(PROJ)/bin/win/release/data/,,$@)"' ...
cp -fu $< $@

# Project Swatch Files
$(PROJ)/bin/win/release/data/%.bdswt: $(PROJ)/data/bdswt/%.tga
$(ECHO) │ │ ├─[] [R] Saving '"$(subst $(PROJ)/bin/win/release/data/,,$@)"' ...
bdtools/bin/win/debug/bdswtcnv.exe $(PROJ_PALETTE) $<
mv -f $(subst .tga,.bdswt,$<) $@

# Project Build Definitions

# Project Debug Build
proj_debug:
$(ECHO) ├─[] Project Debug Build Version 0.1.0.0
$(ECHO) │ ├─[] Building ...
$(MAKE) proj_win_dbg_exe
$(ECHO) │ ├─[] Saving Data ...
$(MAKE) proj_win_8bi
$(MAKE) proj_win_img
$(MAKE) proj_win_pal
$(MAKE) proj_win_rsi
$(MAKE) proj_win_rsp
$(MAKE) proj_win_rss
$(MAKE) proj_win_sfx
$(MAKE) proj_win_swt
$(ECHO) │ └─[] Done !

# Project Release Build
proj_release:
$(ECHO) ├─[] Project Release Build Version 0.1.0.0
$(ECHO) │ ├─[] Building ...
$(MAKE) proj_win_rel_exe
$(ECHO) │ ├─[] Saving Data ...
$(MAKE) proj_win_8bi
$(MAKE) proj_win_img
$(MAKE) proj_win_pal
$(MAKE) proj_win_rsi
$(MAKE) proj_win_rsp
$(MAKE) proj_win_rss
$(MAKE) proj_win_sfx
$(MAKE) proj_win_swt
$(ECHO) │ └─[] Done !

# Project Clean
proj_clean:
$(ECHO) ├─[] Project Version 0.1.0.0
$(ECHO) │ ├─[] Cleaning ...
$(ECHO) │ │ ├─[] [C] Deleting Dependency Heirarchy ...
rm -f $(wildcard $(PROJ)/build/win/debug/*.d)
rm -f $(wildcard $(PROJ)/build/win/release/*.d)
$(ECHO) │ │ ├─[] [C] Deleting Object Files ...
rm -f $(wildcard $(PROJ)/obj/win/debug/*.o)
rm -f $(wildcard $(PROJ)/obj/win/release/*.o)
$(ECHO) │ │ ├─[] [C] Deleting Executable Files ...
rm -f $(wildcard $(PROJ)/bin/win/debug/*.BAT)
rm -f $(wildcard $(PROJ)/bin/win/debug/*.exe)
rm -f $(wildcard $(PROJ)/bin/win/release/*.BAT)
rm -f $(wildcard $(PROJ)/bin/win/release/*.exe)
rm -f $(wildcard $(PROJ)/bin/win/release/*.upx)
$(ECHO) │ │ ├─[] [C] Deleting Data Files ...
rm -f $(wildcard $(PROJ)/bin/win/release/data/*.bd8bi)
rm -f $(wildcard $(PROJ)/bin/win/release/data/*.bdimg)
rm -f $(wildcard $(PROJ)/bin/win/release/data/*.bdpal)
rm -f $(wildcard $(PROJ)/bin/win/release/data/*.bdrsi)
rm -f $(wildcard $(PROJ)/bin/win/release/data/*.bdrsp)
rm -f $(wildcard $(PROJ)/bin/win/release/data/*.bdrss)
rm -f $(wildcard $(PROJ)/bin/win/release/data/*.bdsfx)
rm -f $(wildcard $(PROJ)/bin/win/release/data/*.bdswt)
$(ECHO) │ │ ├─[] [C] Deleting Log Files ...
rm -f $(wildcard $(PROJ)/bin/win/debug/logs/*.txt)
rm -f $(wildcard $(PROJ)/bin/win/debug/logs/*.html)
rm -f $(wildcard $(PROJ)/bin/win/release/logs/*.txt)
rm -f $(wildcard $(PROJ)/bin/win/release/logs/*.html)
$(ECHO) │ └─[] Done !

# Includes

# BDAPI Includes
-include $(BDAPI_WIN_DBG_DEP)
-include $(BDAPI_WIN_REL_DEP)

# BDTOOLS Includes
-include $(BDTOOLS_WIN_DBG_DEP)
-include $(BDTOOLS_WIN_REL_DEP)

# Project Includes
-include $(PROJ_WIN_DBG_DEP)
-include $(PROJ_WIN_REL_DEP)
324  Player / General / Re: Something you JUST did thread on: July 08, 2012, 09:40:55 AM
forcibly relocate a dog, put it in a cage, world is a better place
325  Player / General / Re: What are you listening to at the moment? on: July 08, 2012, 02:28:30 AM
326  Player / General / Re: I've Changed My Avatar. on: July 08, 2012, 01:39:46 AM
They are actually pitch black, but I photoshopped them to something more interesting because the composite of the image was way too dark; needed something to contrast with the gritty facial imperfections and grime.
327  Player / General / Re: Arthur Comic Creator. on: July 08, 2012, 01:03:13 AM
328  Player / General / Re: Batman on: July 08, 2012, 12:22:06 AM
329  Player / General / Re: I've Changed My Avatar. on: July 08, 2012, 12:17:09 AM
330  Developer / Creative / Re: Today I created... on: July 07, 2012, 11:39:37 PM
Exercising my photoshop muscles.

331  Player / General / Re: Batman on: July 07, 2012, 10:00:35 PM
332  Player / General / Re: Something you JUST did thread on: July 07, 2012, 09:54:33 PM
Exercising my photoshop muscles, whatever.

333  Player / General / Re: What are you listening to at the moment? on: July 07, 2012, 09:10:36 PM
334  Developer / Technical / Re: The grumpy old programmer room on: July 07, 2012, 07:55:55 PM
I hate starting C++ projects.  Don't know why, but I feel like C++ projects have a lot of inertia, and the beginning always feels like pushing a boulder up a hill.


I feel the same when I "start" a C++ project from scratch, other than a quick game with SFML. If the project is serious, it tends to easily force you to write some build scripts etc. that makes you only loose time.

So I tend to spend a lot of time making sure that I don't have to do this again later. Then I enjoy.

I've spent more than three years programming my own game development framework and engine so creating a new game project takes about five minutes. That being said, I've been working on the same project for quite a long time now. Makes me wonder why I broke my code down into separate libraries when ultimately it all services one game.
335  Player / General / Re: Fight Thread Pollution! Post here if it's not worth a new thread!!! on: July 07, 2012, 07:54:21 PM
I peed my pants a little bit because I'm so excited about what I'm programming right now that i didn't get up to go to the bathroom.
336  Feedback / DevLogs / Re: Screenshot Saturday on: July 07, 2012, 07:53:39 PM
337  Player / General / Re: What are you listening to at the moment? on: July 07, 2012, 12:00:43 PM
338  Player / Games / Re: Spelunky XBLA on: July 06, 2012, 06:36:54 AM
Derek should just give someone admin powers in the compo forum and let them organise compos. I'm sure there wouldn't be shortage of volunteers. And maybe then Derek might also take part in one of the compos.

That's the sloppiest power grab I've ever seen.
339  Player / Games / Re: the sega was better than super nintendo on: July 05, 2012, 08:37:32 PM
My Nintendofoo has become weak through decades of increasingly easier games. I can't even beat the first level of Ninja Gaiden right now.
340  Player / Games / Re: Spelunky XBLA on: July 05, 2012, 07:22:56 PM
How did you resist the urge to roundhouse Anthony Carboni in the face?

If you really wanted to roundhouse Anthony Carboni in the face then leave no reply.
Pages: 1 ... 15 16 [17] 18 19 ... 31
Theme orange-lt created by panic