summaryrefslogtreecommitdiffstats
path: root/uisimulator/win32/Makefile
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-03-06 15:53:44 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-03-06 15:53:44 +0000
commit0bf50f02cc79c70529abe829a0d42f76591bce20 (patch)
treef86aac0f293c145afd91f50f7b5a61ac1e9044bc /uisimulator/win32/Makefile
parentf9b36e34a73c5cf616ca8603dc236f0fcaf15b5b (diff)
downloadrockbox-0bf50f02cc79c70529abe829a0d42f76591bce20.tar.gz
rockbox-0bf50f02cc79c70529abe829a0d42f76591bce20.zip
adjusted to use the new Make include file to create the SRC variable from
the SOURCES file git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6155 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/win32/Makefile')
-rw-r--r--uisimulator/win32/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/uisimulator/win32/Makefile b/uisimulator/win32/Makefile
index f429cad8b5..f04a54bdd4 100644
--- a/uisimulator/win32/Makefile
+++ b/uisimulator/win32/Makefile
@@ -29,8 +29,9 @@ INCLUDES = -I. -I$(SIMCOMMON) -I$(OBJDIR) -I$(FIRMDIR)/export -I$(APPSDIR)
DEFINES = -DHAVE_CONFIG_H -DGETTIMEOFDAY_TWO_ARGS -DSIMULATOR \
$(TARGET) -DAPPSVERSION=\"$(VERSION)\" -DMEM=${MEMORYSIZE} $(EXTRA_DEFINES)
-SRC := $(shell cat SOURCES | gcc -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) \
- $(TARGET) $(DEFINES) $(EXTRA_DEFINES) -E -P -include "config.h" - )
+# This sets up 'SRC' based on the files mentioned in SOURCES
+include $(TOOLSDIR)/makesrc.inc
+
OBJS := $(SRC:%.c=$(OBJDIR)/%.o)
SOURCES = $(SRC)