Merge branch 'release-2.140.136'
[feisty_meow.git] / nucleus / tools / simple_utilities / makefile
index 5983fae5178e1175cd37492efe3525d8bbe41155..864160ab5b5c8722348255c2e12000e16282c08d 100644 (file)
@@ -10,19 +10,11 @@ TARGETS = create_guid.exe playsound.exe short_path.exe sleep_ms.exe \
 ifeq "$(OMIT_VERSIONS)" ""
   SOURCE += simple_utils_version.rc
 endif
+ifeq "$(OPERATING_SYSTEM)" "WIN32"
+  LIBS_USED += winmm
+endif
 DEFINITIONS += __BUILD_STATIC_APPLICATION__
 UNDEFINITIONS += ENABLE_MEMORY_HOOK ENABLE_CALLSTACK_TRACKING
-ifeq "$(COMPILER)" "VISUAL_CPP"
-  # static C runtime support...
-#hmmm: resurrect this as a particular build type, so makefiles don't need to know this...
-  COMPILER_FLAGS += -MT
-  LIBS_USED += netapi32.lib
-  ifeq "$(DEBUG)" ""
-    LIBS_USED += libcmt.lib
-  else
-    LIBS_USED += libcmtd.lib
-  endif
-endif
 
 include cpp/rules.def