diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-06-30 11:15:51 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-06-30 11:15:51 +0000 |
commit | b371cbb39ef6a1f9da32a9d8f7d6f12b1d8077b6 (patch) | |
tree | bcd442132ad281ca5d526ab480af4a9a0c0303ea /firmware/win32.mak | |
parent | 2025d1435a4b69dffcba08cf5f8d46810899b3bc (diff) | |
download | rockbox-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
Diffstat (limited to 'firmware/win32.mak')
-rw-r--r-- | firmware/win32.mak | 83 |
1 files changed, 0 insertions, 83 deletions
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 | |||
10 | CC = sh-elf-gcc | ||
11 | LD = sh-elf-ld | ||
12 | AR = sh-elf-ar | ||
13 | AS = sh-elf-as | ||
14 | OC = sh-elf-objcopy | ||
15 | TOOLSDIR = ../tools | ||
16 | |||
17 | INCLUDES=-Iinclude -I. -Icommon -Idrivers -Iexport | ||
18 | |||
19 | # Pick a target to build for | ||
20 | TARGET=-DARCHOS_RECORDER=1 | ||
21 | ifdef RECORDER | ||
22 | TARGET=-DARCHOS_RECORDER=1 | ||
23 | else | ||
24 | ifdef PLAYER | ||
25 | TARGET=-DARCHOS_PLAYER=1 | ||
26 | else | ||
27 | ifdef PLAYER_OLD | ||
28 | TARGET=-DARCHOS_PLAYER_OLD=1 | ||
29 | endif | ||
30 | endif | ||
31 | endif | ||
32 | |||
33 | # store output files in this directory: | ||
34 | OBJDIR = . | ||
35 | |||
36 | # use propfonts? | ||
37 | ifdef PROPFONTS | ||
38 | CFLAGS = -W -Wall -O -m1 -nostdlib -Wstrict-prototypes $(INCLUDES) $(TARGET) -DLCD_PROPFONTS | ||
39 | else | ||
40 | CFLAGS = -W -Wall -O -m1 -nostdlib -Wstrict-prototypes $(INCLUDES) $(TARGET) | ||
41 | endif | ||
42 | |||
43 | ifdef DEBUG | ||
44 | CFLAGS += -g -DDEBUG | ||
45 | else | ||
46 | CFLAGS += -fomit-frame-pointer -fschedule-insns | ||
47 | endif | ||
48 | |||
49 | SRC := $(wildcard drivers/*.c common/*.c malloc/*.c *.c) | ||
50 | |||
51 | OBJS := $(SRC:%.c=$(OBJDIR)/%.o) $(OBJDIR)/crt0.o $(OBJDIR)/bitswap.o | ||
52 | DEPS:=.deps | ||
53 | DEPDIRS:=$(DEPS) $(DEPS)/drivers $(DEPS)/common $(DEPS)/malloc | ||
54 | |||
55 | ifndef PLAYER | ||
56 | ifndef PLAYER_OLD | ||
57 | OBJS += $(OBJDIR)/sysfont.o | ||
58 | endif | ||
59 | endif | ||
60 | |||
61 | OUTPUT = $(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 | |||
76 | clean: | ||
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) | ||