summaryrefslogtreecommitdiff
path: root/compile/win32
diff options
context:
space:
mode:
authorpixel <pixel>2005-03-31 16:23:03 +0000
committerpixel <pixel>2005-03-31 16:23:03 +0000
commitc9ea9f0ba2fafaceb31f3fb2def46b471e1b27a7 (patch)
treef86c72c88c825e8dc0f05713066df09f68d3f58f /compile/win32
parenta06c9ff47887df919b7cf83f1a7fd5b195e67416 (diff)
Adding LuaRegex.
Diffstat (limited to 'compile/win32')
-rw-r--r--compile/win32/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/compile/win32/Makefile b/compile/win32/Makefile
index c4f7bdb..f26829a 100644
--- a/compile/win32/Makefile
+++ b/compile/win32/Makefile
@@ -16,7 +16,7 @@ CPPFLAGS = $(INCLUDES) -O4 -march=i686 -DSTDC_HEADERS -DREADLINE_STATIC -fexcept
LDFLAGS = -march=i586 -O4
SOURCES = \
-../../Dalos/Dalos.cc ../../cd-tool.cpp ../../luapatch.cpp
+../../cd-tool.cpp ../../luapatch.cpp
MOGLTK_SOURCES = \
../../mogltk/lib/base.cc ../../mogltk/lib/glwidgets.cc \
@@ -36,7 +36,7 @@ BALTISOT_SOURCES = \
../../generic/lib/Input.cc ../../generic/lib/fileutils.cc \
../../generic/lib/LuaHandle.cc ../../generic/lib/generic.cc \
../../generic/lib/checkargs.c ../../generic/lib/datecalc.c \
-../../generic/lub/LuaConfigFile.cc
+../../generic/lib/LuaRegex.cc ../../generic/lib/LuaConfigFile.cc
ZLIB_SOURCES = \
../../generic/lib/zlib/src/adler32.c ../../generic/lib/zlib/src/inffast.c \
@@ -151,11 +151,15 @@ source: dep $(COMMON_SOURCES) ../../cd-tool.cpp
define OBJECT_C_template
$(addsuffix .o, $(notdir $(basename $(1)))): $(src)
$$(CC) $$(CPPFLAGS) $$(CFLAGS) -c $(src)
+ $(addsuffix .dep, $(notdir $(basename $(1)))): $(src)
+ $$(CC) $$(CPPFLAGS) $$(CFLAGS) -MM $(src) -o $$@
endef
define OBJECT_CXX_template
$(addsuffix .o, $(notdir $(basename $(1)))): $(src)
$$(CXX) $$(CPPFLAGS) $$(CXXFLAGS) -c $(src)
+ $(addsuffix .dep, $(notdir $(basename $(1)))): $(src)
+ $$(CXX) $$(CPPFLAGS) $$(CXXFLAGS) -MM $(src) -o $$@
endef
$(foreach src, $(WHOLE_SOURCES), $(if $(filter %.c, $(src)), $(eval $(call OBJECT_C_template, $(src))), $(eval $(call OBJECT_CXX_template, $(src)))))