summaryrefslogtreecommitdiff
path: root/device/lib/s08
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/s08
parent1dcefbf527e52315abfe3b4871272b3fd9bb0f4b (diff)
downloadsdcc-gas-e524f157266c07a7a4cf3b766edd6ff9db98e4f4.tar.gz
Removed intermediate files
Diffstat (limited to 'device/lib/s08')
-rw-r--r--device/lib/s08/Makefile97
1 files changed, 0 insertions, 97 deletions
diff --git a/device/lib/s08/Makefile b/device/lib/s08/Makefile
deleted file mode 100644
index 38216cc..0000000
--- a/device/lib/s08/Makefile
+++ /dev/null
@@ -1,97 +0,0 @@
-# libc/s08 Makefile
-
-
-srcdir = .
-top_builddir = ../../..
-
-LIB_TYPE = RANLIB
-
-SCC = $(top_builddir)/bin/sdcc -ms08
-SAS = $(top_builddir)/bin/sdas6808
-
-# override PORTDIR defined by super (parent) makefile
-override PORTDIR = ../build/s08
-
-include $(srcdir)/../incl.mk
-
-HC08_FLOAT = $(COMMON_FLOAT)
-
-HC08_INT = $(COMMON_INT) \
- _divsint.c \
- _divuint.c \
- _modsint.c \
- _moduint.c
-
-HC08_LONG = $(COMMON_LONG) \
- _mullong.c \
- _divulong.c
-
-HC08_LONGLONG = $(COMMON_LONGLONG) \
- _rrulonglong.c \
- _rrslonglong.c \
- _rlulonglong.c \
- _rlslonglong.c \
- _mullonglong.c \
- _divslonglong.c \
- _divulonglong.c \
- _modslonglong.c \
- _modulonglong.c
-
-HC08_SDCC = $(COMMON_SDCC) \
- _itoa.c \
- _ltoa.c \
- _spx.c \
- _startup.c \
- _strlen.c \
- _strcmp.c \
- _strcpy.c \
- __memcpy.c \
- memcpy.c \
- _memmove.c \
- _heap.c \
- sprintf.c \
- vprintf.c
-
-HC08SOURCES = $(addprefix ../,$(HC08_FLOAT) $(HC08_INT) $(HC08_LONG) $(HC08_LONGLONG) $(HC08_SDCC))
-HC08OBJECTS = $(patsubst %.c,%.rel,$(HC08_FLOAT) $(HC08_INT) $(HC08_LONG) $(HC08_LONGLONG) $(HC08_SDCC))
-
-OBJ = _ret.rel _mulint.rel _setjmp.rel
-
-LIB = s08.lib
-CC = $(SCC)
-AS = $(SAS)
-ASFLAGS = -plosgff
-
-CFLAGS = -I$(srcdir)/../../include -I. --std-c11
-
-all: $(PORTDIR)/$(LIB)
-
-$(PORTDIR)/$(LIB): $(OBJ) $(HC08OBJECTS) Makefile
-ifeq ($(LIB_TYPE), SDCCLIB)
- rm -f $@; \
- $(top_builddir)/bin/sdcclib -a $@ $(OBJ) $(HC08OBJECTS)
-else
- ifeq ($(LIB_TYPE), AR)
- $(top_builddir)/bin/sdar -rcSD $@ $(OBJ) $(HC08OBJECTS)
- else
- ifeq ($(LIB_TYPE), RANLIB)
- $(top_builddir)/bin/sdar -rcD $@ $(OBJ) $(HC08OBJECTS)
- else
- rm -f $@
- for i in $(basename $(OBJ) $(HC08OBJECTS)); do echo $$i >>$@; done
- cp $(OBJ) $(HC08OBJECTS) $(PORTDIR)
- endif
- endif
-endif
-
-%.rel: %.c
- $(CC) $(CFLAGS) -c $<
-
-%.rel: ../%.c
- $(CC) $(CFLAGS) -c $<
-
-clean:
- rm -f *.rel *.sym *.lst *~ $(CLEANSPEC) *.dump* *.asm *.lib
-
-distclean: clean
- rm -f Makefile