diff options
Diffstat (limited to 'uisimulator/win32/Makefile')
-rw-r--r-- | uisimulator/win32/Makefile | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/uisimulator/win32/Makefile b/uisimulator/win32/Makefile deleted file mode 100644 index 160924a0f3..0000000000 --- a/uisimulator/win32/Makefile +++ /dev/null | |||
@@ -1,69 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | # __________ __ ___. | ||
3 | # Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | # \/ \/ \/ \/ \/ | ||
8 | # $Id$ | ||
9 | # | ||
10 | # Copyright (C) 2002 by Daniel Stenberg <daniel@haxx.se> | ||
11 | # | ||
12 | # All files in this archive are subject to the GNU General Public License. | ||
13 | # See the file COPYING in the source tree root for full license agreement. | ||
14 | # | ||
15 | # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
16 | # KIND, either express or implied. | ||
17 | # | ||
18 | ############################################################################ | ||
19 | |||
20 | SIMCOMMON = ../common | ||
21 | |||
22 | DEPFILE = $(OBJDIR)/dep-simwin | ||
23 | |||
24 | RM = rm -f | ||
25 | DEBUG = -g | ||
26 | |||
27 | INCLUDES = -I. -I$(SIMCOMMON) -I$(OBJDIR) -I$(FIRMDIR)/export -I$(APPSDIR) \ | ||
28 | -I$(BUILDDIR) | ||
29 | |||
30 | DEFINES = -DHAVE_CONFIG_H -DGETTIMEOFDAY_TWO_ARGS -DSIMULATOR \ | ||
31 | $(TARGET) -DAPPSVERSION=\"$(VERSION)\" -DMEM=${MEMORYSIZE} $(EXTRA_DEFINES) | ||
32 | |||
33 | # This sets up 'SRC' based on the files mentioned in SOURCES | ||
34 | include $(TOOLSDIR)/makesrc.inc | ||
35 | |||
36 | OBJS := $(SRC:%.c=$(OBJDIR)/%.o) | ||
37 | |||
38 | SOURCES = $(SRC) | ||
39 | DIRS = . | ||
40 | |||
41 | CFLAGS = $(DEBUG) $(DEFINES) $(INCLUDES) -W -Wall -mno-cygwin | ||
42 | |||
43 | OUTFILE = $(BUILDDIR)/libsim.a | ||
44 | |||
45 | all: $(OUTFILE) | ||
46 | |||
47 | $(OUTFILE): $(OBJS) $(OBJDIR)/UI256.bmp $(OBJDIR)/uisw32-res.o | ||
48 | @echo "AR+RANLIB $@" | ||
49 | @$(AR) ruv $@ $(OBJS) $(OBJDIR)/uisw32-res.o >/dev/null 2>&1 | ||
50 | @$(RANLIB) $@ | ||
51 | |||
52 | clean: | ||
53 | @echo "cleaning simwin" | ||
54 | @$(RM) $(OBJS) *~ core $(OUTFILE) $(OBJDIR)/uisw32-res.o \ | ||
55 | $(OBJDIR)/UI256.bmp $(DEPFILE) | ||
56 | @$(MAKE) -C $(SIMCOMMON) clean | ||
57 | |||
58 | ################## Specific dependencies ################## | ||
59 | $(OBJDIR)/UI256.bmp: UI-$(ARCHOS).bmp | ||
60 | @echo UI | ||
61 | @cp $< $@ | ||
62 | |||
63 | $(OBJDIR)/uisw32-res.o: uisw32.rc $(OBJDIR)/UI256.bmp | ||
64 | @echo "WINDRES" | ||
65 | @$(WINDRES) --include-dir $(OBJDIR) -i $< -o $@ | ||
66 | |||
67 | include $(TOOLSDIR)/make.inc | ||
68 | |||
69 | -include $(DEPFILE) | ||