diff options
Diffstat (limited to 'uisimulator/sdl/Makefile')
-rw-r--r-- | uisimulator/sdl/Makefile | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/uisimulator/sdl/Makefile b/uisimulator/sdl/Makefile index 989ac65223..5c5693e98c 100644 --- a/uisimulator/sdl/Makefile +++ b/uisimulator/sdl/Makefile | |||
@@ -40,7 +40,7 @@ SOURCES = $(SRC) | |||
40 | 40 | ||
41 | DIRS = . | 41 | DIRS = . |
42 | 42 | ||
43 | CFLAGS = $(DEBUG) $(DEFINES) $(INCLUDES) $(GCCOPTS) | 43 | CFLAGS = $(DEBUG) $(DEFINES) $(INCLUDES) $(GCCOPTS) -W -Wall |
44 | 44 | ||
45 | OUTFILE = $(BUILDDIR)/libsim.a | 45 | OUTFILE = $(BUILDDIR)/libsim.a |
46 | 46 | ||
@@ -48,13 +48,19 @@ all: $(OUTFILE) | |||
48 | 48 | ||
49 | include $(TOOLSDIR)/make.inc | 49 | include $(TOOLSDIR)/make.inc |
50 | 50 | ||
51 | $(OUTFILE): $(OBJS) $(BUILDDIR)/UI256.bmp | ||
52 | @echo "AR $@" | ||
53 | @$(AR) ruv $@ $(OBJS) >/dev/null 2>&1 | ||
54 | |||
51 | clean: | 55 | clean: |
52 | @echo "cleaning sim" | 56 | @echo "cleaning sim" |
53 | @$(RM) $(OBJS) *~ core $(OUTFILE) $(DEPFILE) | 57 | @$(RM) $(OBJS) *~ core $(OUTFILE) $(DEPFILE) \ |
58 | $(BUILDDIR)/UI256.bmp $(DEPFILE) | ||
54 | @$(MAKE) -C $(SIMCOMMON) clean | 59 | @$(MAKE) -C $(SIMCOMMON) clean |
55 | 60 | ||
56 | $(OUTFILE): $(OBJS) | 61 | ################## Specific dependencies ################## |
57 | @echo "AR $@" | 62 | $(BUILDDIR)/UI256.bmp: UI-$(ARCHOS).bmp |
58 | @$(AR) ruv $@ $(OBJS) >/dev/null 2>&1 | 63 | @echo UI |
64 | @cp $< $@ | ||
59 | 65 | ||
60 | -include $(DEPFILE) | 66 | -include $(DEPFILE) |