summaryrefslogtreecommitdiff
path: root/device/lib/stm8
diff options
context:
space:
mode:
authorXavi Del Campo <xavi.dcr@tutanota.com>2019-11-05 17:56:35 +0100
committerXavi Del Campo <xavi.dcr@tutanota.com>2019-11-05 17:56:35 +0100
commite524f157266c07a7a4cf3b766edd6ff9db98e4f4 (patch)
tree3dcbf507b5ec87d297f833df79cb532c3844032f /device/lib/stm8
parent1dcefbf527e52315abfe3b4871272b3fd9bb0f4b (diff)
downloadsdcc-gas-e524f157266c07a7a4cf3b766edd6ff9db98e4f4.tar.gz
Removed intermediate files
Diffstat (limited to 'device/lib/stm8')
-rw-r--r--device/lib/stm8/Makefile92
1 files changed, 0 insertions, 92 deletions
diff --git a/device/lib/stm8/Makefile b/device/lib/stm8/Makefile
deleted file mode 100644
index 24e9d20..0000000
--- a/device/lib/stm8/Makefile
+++ /dev/null
@@ -1,92 +0,0 @@
-# libc/stm8 Makefile
-
-
-srcdir = .
-top_builddir = ../../..
-
-LIB_TYPE = RANLIB
-
-SCC = $(top_builddir)/bin/sdcc -mstm8
-SAS = $(top_builddir)/bin/sdasstm8
-
-# override PORTDIR defined by super (parent) makefile
-override PORTDIR = ../build/stm8
-
-include $(srcdir)/../incl.mk
-
-STM8_FLOAT = $(COMMON_FLOAT)
-
-STM8_INT = _mulschar.c _divschar.c _modschar.c
-
-STM8_LONG =
-
-STM8_LONGLONG = $(COMMON_LONGLONG) \
- _rrulonglong.c \
- _rrslonglong.c \
- _rlulonglong.c \
- _rlslonglong.c \
- _mullonglong.c \
- _divslonglong.c \
- _divulonglong.c \
- _modslonglong.c \
- _modulonglong.c
-
-STM8_SDCC = $(COMMON_SDCC) \
- _itoa.c \
- _ltoa.c \
- _startup.c \
- _strlen.c \
- _memmove.c \
- sprintf.c \
- vprintf.c
-
-STM8SOURCES = $(addprefix ../,$(STM8_FLOAT) $(STM8_INT) $(STM8_LONG) $(STM8_LONGLONG) $(STM8_SDCC))
-STM8OBJECTS = $(patsubst %.c,%.rel,$(STM8_FLOAT) $(STM8_INT) $(STM8_LONG) $(STM8_LONGLONG) $(STM8_SDCC))
-
-OBJ = setjmp.rel _mulint.rel __mulsint2slong.rel _divsint.rel _modsint.rel _mullong.rel _divulong.rel _modulong.rel _divslong.rel _modslong.rel _fast_long_neg.rel heap.rel strcpy.rel strcmp.rel memcpy.rel
-
-LIB = stm8.lib
-CC = $(SCC)
-AS = $(SAS)
-ASFLAGS = -plosgff
-
-CFLAGS = -I$(srcdir)/../../include -I. --std-c11
-
-all: $(PORTDIR)/$(LIB)
-
-$(PORTDIR)/$(LIB): $(OBJ) $(STM8OBJECTS) Makefile
-ifeq ($(LIB_TYPE), SDCCLIB)
- rm -f $@; \
- $(top_builddir)/bin/sdcclib -a $@ $(OBJ) $(STM8OBJECTS)
-else
- ifeq ($(LIB_TYPE), AR)
- $(top_builddir)/bin/sdar -rcSD $@ $(OBJ) $(STM8OBJECTS)
- else
- ifeq ($(LIB_TYPE), RANLIB)
- $(top_builddir)/bin/sdar -rcD $@ $(OBJ) $(STM8OBJECTS)
- else
- rm -f $@
- for i in $(basename $(OBJ) $(STM8OBJECTS)); do echo $$i >>$@; done
- cp $(OBJ) $(STM8OBJECTS) $(PORTDIR)
- endif
- endif
-endif
-
-%.rel: %.c
- $(CC) $(CFLAGS) -c $<
-
-%.rel: %.s
- @# TODO: sdas should place it\'s output in the current dir
- test $(srcdir) = . || cp $< .
- -$(AS) $(ASFLAGS) $(notdir $<)
- test $(srcdir) = . || rm $(notdir $<)
-
-%.rel: ../%.c
- $(CC) $(CFLAGS) -c $<
-
-clean:
- rm -f *.rel *.sym *.lst *~ $(CLEANSPEC) *.dump* *.asm *.lib
-
-distclean: clean
- rm -f Makefile
-