X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Fapplications%2Fbundler%2Fmakefile;h=7f317de888f5e21697b64c276cd0054c7388204f;hb=b20c94130103f09fbe3580ac5b6e191fa9c54e4f;hp=1137f980e78ea3e92c0c9e51dd596df4f7904bb6;hpb=3ea085ec301ed1399dfa1e9f3a240312dc95410b;p=feisty_meow.git diff --git a/nucleus/applications/bundler/makefile b/nucleus/applications/bundler/makefile index 1137f980..7f317de8 100644 --- a/nucleus/applications/bundler/makefile +++ b/nucleus/applications/bundler/makefile @@ -1,27 +1,28 @@ -CONSOLE_MODE = true +include variables.def -include cpp/variables.def +# had to move to this style for these two +# since having a makefile call another was doing +# really unpredictable things, where the makefile +# passed to the -f of make was actually dragging +# in bits from the main makefile. this was +# tested even by saying: +# make -f makefile.stub clean +# which totally isolates it to the stub file, but +# the main makefile was still being pulled in. +# hopefully this approach of having a neutral outer +# maker will get rid of that broken behavior. -PROJECT = app_bundle -TYPE = application -SOURCE = common_bundle.cpp -ifeq "$(OMIT_VERSIONS)" "" - SOURCE += bundler_version.rc -endif -DEFINITIONS += __BUILD_STATIC_APPLICATION__=t -TARGETS = bundle_creator.exe -LAST_TARGETS += make_stub -ifeq "$(OP_SYSTEM)" "WIN32" - LOCAL_HEADERS += $(THIRD_PARTY_DIR)/zlib/include - LOCAL_LIBRARIES += $(THIRD_PARTY_DIR)/zlib/lib - LIBS_USED += zlib.lib -endif -ifeq "$(OP_SYSTEM)" "UNIX" - LIBS_USED += z -endif +LAST_TARGETS = maker +OTHER_CLEANS = breaker -include cpp/rules.def +include rules.def + +maker: + $(MAKE) -f makefile.bundle_creator + $(MAKE) -f makefile.unpacker_stub + +breaker: + $(MAKE) -f makefile.bundle_creator clean + $(MAKE) -f makefile.unpacker_stub clean -make_stub: - $(MAKE) -f makefile.stub