summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-06-30 11:15:51 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-06-30 11:15:51 +0000
commitb371cbb39ef6a1f9da32a9d8f7d6f12b1d8077b6 (patch)
treebcd442132ad281ca5d526ab480af4a9a0c0303ea
parent2025d1435a4b69dffcba08cf5f8d46810899b3bc (diff)
downloadrockbox-b371cbb39ef6a1f9da32a9d8f7d6f12b1d8077b6.tar.gz
rockbox-b371cbb39ef6a1f9da32a9d8f7d6f12b1d8077b6.zip
Removed outdated win32.mak
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6947 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/FILES1
-rw-r--r--firmware/win32.mak83
2 files changed, 0 insertions, 84 deletions
diff --git a/firmware/FILES b/firmware/FILES
index 77ce07706f..309549341b 100644
--- a/firmware/FILES
+++ b/firmware/FILES
@@ -8,5 +8,4 @@ drivers/*.[chS]
8export/*.h 8export/*.h
9include/*.h 9include/*.h
10include/sys/*.h 10include/sys/*.h
11win32.mak
12SOURCES 11SOURCES
diff --git a/firmware/win32.mak b/firmware/win32.mak
deleted file mode 100644
index 80165c2c81..0000000000
--- a/firmware/win32.mak
+++ /dev/null
@@ -1,83 +0,0 @@
1# __________ __ ___.
2# Open \______ \ ____ ____ | | _\_ |__ _______ ___
3# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
4# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
5# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
6# \/ \/ \/ \/ \/
7# $Id$
8#
9
10CC = sh-elf-gcc
11LD = sh-elf-ld
12AR = sh-elf-ar
13AS = sh-elf-as
14OC = sh-elf-objcopy
15TOOLSDIR = ../tools
16
17INCLUDES=-Iinclude -I. -Icommon -Idrivers -Iexport
18
19# Pick a target to build for
20TARGET=-DARCHOS_RECORDER=1
21ifdef RECORDER
22 TARGET=-DARCHOS_RECORDER=1
23else
24 ifdef PLAYER
25 TARGET=-DARCHOS_PLAYER=1
26 else
27 ifdef PLAYER_OLD
28 TARGET=-DARCHOS_PLAYER_OLD=1
29 endif
30 endif
31endif
32
33# store output files in this directory:
34OBJDIR = .
35
36# use propfonts?
37ifdef PROPFONTS
38 CFLAGS = -W -Wall -O -m1 -nostdlib -Wstrict-prototypes $(INCLUDES) $(TARGET) -DLCD_PROPFONTS
39else
40 CFLAGS = -W -Wall -O -m1 -nostdlib -Wstrict-prototypes $(INCLUDES) $(TARGET)
41endif
42
43ifdef DEBUG
44CFLAGS += -g -DDEBUG
45else
46CFLAGS += -fomit-frame-pointer -fschedule-insns
47endif
48
49SRC := $(wildcard drivers/*.c common/*.c malloc/*.c *.c)
50
51OBJS := $(SRC:%.c=$(OBJDIR)/%.o) $(OBJDIR)/crt0.o $(OBJDIR)/bitswap.o
52DEPS:=.deps
53DEPDIRS:=$(DEPS) $(DEPS)/drivers $(DEPS)/common $(DEPS)/malloc
54
55ifndef PLAYER
56ifndef PLAYER_OLD
57 OBJS += $(OBJDIR)/sysfont.o
58endif
59endif
60
61OUTPUT = $(OBJDIR)/librockbox.a
62
63$(OUTPUT): $(OBJS)
64 $(AR) ruv $@ $+
65
66$(OBJDIR)/%.o: %.c
67 $(CC) $(CFLAGS) -c $< -o $@
68
69$(OBJDIR)/%.o: %.S
70 $(CC) $(CFLAGS) -c $< -o $@
71
72$(OBJDIR)/sysfont.o: fonts/clR6x8.bdf
73 $(TOOLSDIR)/convbdf -c -o $(OBJDIR)/sysfont.c $<
74 $(CC) $(CFLAGS) -c $(OBJDIR)/sysfont.c -o $@
75
76clean:
77 -rm -f $(OBJS) $(OUTPUT) sysfont.c
78
79# Special targets
80$(OBJDIR)/thread.o: thread.c export/thread.h
81 $(CC) -c -O -fomit-frame-pointer $(CFLAGS) $< -o $@
82
83-include $(SRC:%.c=$(OBJDIR)/$(DEPS)/%.d)