From 0bf50f02cc79c70529abe829a0d42f76591bce20 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 6 Mar 2005 15:53:44 +0000 Subject: 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 --- uisimulator/common/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'uisimulator/common') diff --git a/uisimulator/common/Makefile b/uisimulator/common/Makefile index e2b6b2a..62a124a 100644 --- a/uisimulator/common/Makefile +++ b/uisimulator/common/Makefile @@ -25,8 +25,9 @@ DEBUG = -g # Use this for simulator-only files INCLUDES = -I. -I$(OBJDIR) -I$(FIRMDIR)/export -I$(APPSDIR) -I$(ROOTDIR)/uisimulator/$(SIMVER) -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) DEFINES := -DHAVE_CONFIG_H -DGETTIMEOFDAY_TWO_ARGS -DSIMULATOR \ -- cgit v1.1