Fix the shutdown sequence for maemo, SDL and simulator builds
[maemo-rb.git] / lib / libsetjmp / libsetjmp.make
blobb7d4cad25fbd14fde8b6242431066921676913b6
1 # __________ __ ___.
2 # Open \______ \ ____ ____ | | _\_ |__ _______ ___
3 # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
4 # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
5 # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
6 # \/ \/ \/ \/ \/
9 SETJMP_DIR = $(ROOTDIR)/lib/libsetjmp
10 SETJMP_SRC = $(call preprocess, $(SETJMP_DIR)/SOURCES)
11 SETJMP_OBJ := $(call c2obj, $(SETJMP_SRC))
13 OTHER_SRC += $(SETJMP_SRC)
15 LIBSETJMP = $(BUILDDIR)/lib/libsetjmp.a
17 INCLUDES += -I$(SETJMP_DIR)
19 $(LIBSETJMP): $(SETJMP_OBJ)
20 $(SILENT)$(shell rm -f $@)
21 $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null