summaryrefslogtreecommitdiff
path: root/uisimulator/win32/Makefile
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-08-02 12:54:46 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-08-02 12:54:46 +0000
commit81e7c72792358036fc73d7cbaec3d3acefcc741b (patch)
treeb6eb8ba69c02e355dbe3fba958042be0643d5de4 /uisimulator/win32/Makefile
parent2ec1e170ab8b47855f2cc201de4ac0c29c1d3e09 (diff)
clean works now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1525 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/win32/Makefile')
-rw-r--r--uisimulator/win32/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/uisimulator/win32/Makefile b/uisimulator/win32/Makefile
index 73ee6b751f..3a84a2dd70 100644
--- a/uisimulator/win32/Makefile
+++ b/uisimulator/win32/Makefile
@@ -34,7 +34,7 @@ DEBUG = -g
# where to put all output files
OBJDIR = .
-TARGET = $(OBJDIR)/rockboxui
+TARGET = $(OBJDIR)/uisw32.exe
#DISPLAY = -DHAVE_LCD_CHARCELLS
DISPLAY = -DHAVE_LCD_BITMAP
@@ -75,18 +75,18 @@ SRCS = button.c dir-win32.c lcd-win32.c panic-win32.c thread-win32.c \
debug-win32.c kernel.c string-win32.c uisw32.c \
$(APPS) $(MENUS) $(FIRMSRCS) strtok.c
-OBJS := $(SRCS:%.c=$(OBJDIR)/%.o)
+OBJS := $(SRCS:%.c=$(OBJDIR)/%.o) $(OBJDIR)/uisw32-res.o
-all: $(OBJDIR)/uisw32.exe
+all: $(TARGET)
-$(OBJDIR)/uisw32.exe: $(OBJS) $(OBJDIR)/uisw32-res.o
- $(CC) $(OBJS) $(OBJDIR)/uisw32-res.o -o $(OBJDIR)/uisw32.exe $(LDFLAGS)
+$(TARGET): $(OBJS)
+ $(CC) $(OBJS) -o $(TARGET) $(LDFLAGS)
$(OBJDIR)/uisw32-res.o: uisw32.rc
$(WINDRES) -i $< -o $@
clean:
- $(RM) $(OBJS) *~ core $(TARGET) $(CLIENTS)
+ $(RM) $(OBJS) *~ core $(TARGET) $(CLIENTS) $(OBJDIR)/uisw32-res.o
$(RM) -r $(DEPS)
distclean: clean
@@ -188,9 +188,6 @@ $(OBJDIR)/backlight.o: $(FIRMWAREDIR)/backlight.c
$(OBJDIR)/%.o: %.c
$(CC) $(CFLAGS) -c $< -o $@
-$(TARGET): $(OBJS)
- $(CC) -g -o $(TARGET) $(LIBDIRS) $(LDFLAGS) $(OBJS) $(LIBS)
-
DEPS:=$(OBJDIR)/.deps
$(DEPS)/%.d: %.c