summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
34# where to put all output files 34# where to put all output files
35OBJDIR = . 35OBJDIR = .
36 36
37TARGET = $(OBJDIR)/rockboxui 37TARGET = $(OBJDIR)/uisw32.exe
38 38
39#DISPLAY = -DHAVE_LCD_CHARCELLS 39#DISPLAY = -DHAVE_LCD_CHARCELLS
40DISPLAY = -DHAVE_LCD_BITMAP 40DISPLAY = -DHAVE_LCD_BITMAP
@@ -75,18 +75,18 @@ SRCS = button.c dir-win32.c lcd-win32.c panic-win32.c thread-win32.c \
75 debug-win32.c kernel.c string-win32.c uisw32.c \ 75 debug-win32.c kernel.c string-win32.c uisw32.c \
76 $(APPS) $(MENUS) $(FIRMSRCS) strtok.c 76 $(APPS) $(MENUS) $(FIRMSRCS) strtok.c
77 77
78OBJS := $(SRCS:%.c=$(OBJDIR)/%.o) 78OBJS := $(SRCS:%.c=$(OBJDIR)/%.o) $(OBJDIR)/uisw32-res.o
79 79
80all: $(OBJDIR)/uisw32.exe 80all: $(TARGET)
81 81
82$(OBJDIR)/uisw32.exe: $(OBJS) $(OBJDIR)/uisw32-res.o 82$(TARGET): $(OBJS)
83 $(CC) $(OBJS) $(OBJDIR)/uisw32-res.o -o $(OBJDIR)/uisw32.exe $(LDFLAGS) 83 $(CC) $(OBJS) -o $(TARGET) $(LDFLAGS)
84 84
85$(OBJDIR)/uisw32-res.o: uisw32.rc 85$(OBJDIR)/uisw32-res.o: uisw32.rc
86 $(WINDRES) -i $< -o $@ 86 $(WINDRES) -i $< -o $@
87 87
88clean: 88clean:
89 $(RM) $(OBJS) *~ core $(TARGET) $(CLIENTS) 89 $(RM) $(OBJS) *~ core $(TARGET) $(CLIENTS) $(OBJDIR)/uisw32-res.o
90 $(RM) -r $(DEPS) 90 $(RM) -r $(DEPS)
91 91
92distclean: clean 92distclean: clean
@@ -188,9 +188,6 @@ $(OBJDIR)/backlight.o: $(FIRMWAREDIR)/backlight.c
188$(OBJDIR)/%.o: %.c 188$(OBJDIR)/%.o: %.c
189 $(CC) $(CFLAGS) -c $< -o $@ 189 $(CC) $(CFLAGS) -c $< -o $@
190 190
191$(TARGET): $(OBJS)
192 $(CC) -g -o $(TARGET) $(LIBDIRS) $(LDFLAGS) $(OBJS) $(LIBS)
193
194DEPS:=$(OBJDIR)/.deps 191DEPS:=$(OBJDIR)/.deps
195 192
196$(DEPS)/%.d: %.c 193$(DEPS)/%.d: %.c