clean works now

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1525 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2002-08-02 12:54:46 +00:00
parent 2ec1e170ab
commit 81e7c72792

View file

@ -34,7 +34,7 @@ DEBUG = -g
# where to put all output files # where to put all output files
OBJDIR = . OBJDIR = .
TARGET = $(OBJDIR)/rockboxui TARGET = $(OBJDIR)/uisw32.exe
#DISPLAY = -DHAVE_LCD_CHARCELLS #DISPLAY = -DHAVE_LCD_CHARCELLS
DISPLAY = -DHAVE_LCD_BITMAP 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 \ debug-win32.c kernel.c string-win32.c uisw32.c \
$(APPS) $(MENUS) $(FIRMSRCS) strtok.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 $(TARGET): $(OBJS)
$(CC) $(OBJS) $(OBJDIR)/uisw32-res.o -o $(OBJDIR)/uisw32.exe $(LDFLAGS) $(CC) $(OBJS) -o $(TARGET) $(LDFLAGS)
$(OBJDIR)/uisw32-res.o: uisw32.rc $(OBJDIR)/uisw32-res.o: uisw32.rc
$(WINDRES) -i $< -o $@ $(WINDRES) -i $< -o $@
clean: clean:
$(RM) $(OBJS) *~ core $(TARGET) $(CLIENTS) $(RM) $(OBJS) *~ core $(TARGET) $(CLIENTS) $(OBJDIR)/uisw32-res.o
$(RM) -r $(DEPS) $(RM) -r $(DEPS)
distclean: clean distclean: clean
@ -188,9 +188,6 @@ $(OBJDIR)/backlight.o: $(FIRMWAREDIR)/backlight.c
$(OBJDIR)/%.o: %.c $(OBJDIR)/%.o: %.c
$(CC) $(CFLAGS) -c $< -o $@ $(CC) $(CFLAGS) -c $< -o $@
$(TARGET): $(OBJS)
$(CC) -g -o $(TARGET) $(LIBDIRS) $(LDFLAGS) $(OBJS) $(LIBS)
DEPS:=$(OBJDIR)/.deps DEPS:=$(OBJDIR)/.deps
$(DEPS)/%.d: %.c $(DEPS)/%.d: %.c