diff options
| author | Xavi Del Campo <xavi.dcr@tutanota.com> | 2019-11-05 17:56:35 +0100 |
|---|---|---|
| committer | Xavi Del Campo <xavi.dcr@tutanota.com> | 2019-11-05 17:56:35 +0100 |
| commit | e524f157266c07a7a4cf3b766edd6ff9db98e4f4 (patch) | |
| tree | 3dcbf507b5ec87d297f833df79cb532c3844032f /device/lib/ds390 | |
| parent | 1dcefbf527e52315abfe3b4871272b3fd9bb0f4b (diff) | |
| download | sdcc-gas-e524f157266c07a7a4cf3b766edd6ff9db98e4f4.tar.gz | |
Removed intermediate files
Diffstat (limited to 'device/lib/ds390')
| -rw-r--r-- | device/lib/ds390/Makefile | 67 | ||||
| -rw-r--r-- | device/lib/ds390/Makefile.dep | 18 |
2 files changed, 0 insertions, 85 deletions
diff --git a/device/lib/ds390/Makefile b/device/lib/ds390/Makefile deleted file mode 100644 index b0717d1..0000000 --- a/device/lib/ds390/Makefile +++ /dev/null @@ -1,67 +0,0 @@ -# libc/ds390 Makefile - - -srcdir = . -top_builddir = ../../.. - -LIB_TYPE = RANLIB - -CC = $(top_builddir)/bin/sdcc - -# override PORTDIR defined by super (parent) makefile -override PORTDIR = ../build/ds390 - -#VERBOSE = --verbose - -OBJECTS = tinibios.rel memcpyx.rel lcd390.rel i2c390.rel rtc390.rel putchar.rel gptr_cmp.rel - -SOURCES = $(patsubst %.rel,%.c,$(OBJECTS)) - -CPPFLAGS = -I$(srcdir)/../../include -CFLAGS = -mds390 $(CPPFLAGS) $(VERBOSE) --std-c11 - -all: $(OBJECTS) $(PORTDIR)/libds390.lib - -clean: - rm -f *.lst *.rel *.sym *.cdb *.asm \#* *~ *.rst *.hex - rm -f *.ihx temp.lnk *.map *.lib - -distclean: clean - rm -f Makefile Makefile.dep - -$(PORTDIR)/libds390.lib: $(OBJECTS) -ifeq ($(LIB_TYPE), SDCCLIB) - rm -f $@; \ - $(top_builddir)/bin/sdcclib -a $@ $(OBJECTS) -else - ifeq ($(LIB_TYPE), AR) - $(top_builddir)/bin/sdar -rcSD $@ $(OBJECTS) - else - ifeq ($(LIB_TYPE), RANLIB) - $(top_builddir)/bin/sdar -rcD $@ $(OBJECTS) - else - rm -f $@; - for libfile in $(basename $(OBJECTS)); do echo $$libfile >>$@; done - cp $(OBJECTS) $(PORTDIR) - endif - endif -endif - -%.rel: %.c - $(CC) -c $(CFLAGS) $< - -# Creating dependencies -# --------------------- -depend: Makefile.dep - -Makefile.dep: $(SOURCES) - rm -f Makefile.dep - for i in $^; do \ - $(CC) -M $(CPPFLAGS) $$i >$${i}.dep; \ - cat $${i}.dep >>Makefile.dep; \ - rm $${i}.dep; \ - done - -ifeq "$(findstring $(MAKECMDGOALS),clean distclean)" "" - -include Makefile.dep -endif diff --git a/device/lib/ds390/Makefile.dep b/device/lib/ds390/Makefile.dep deleted file mode 100644 index 143598d..0000000 --- a/device/lib/ds390/Makefile.dep +++ /dev/null @@ -1,18 +0,0 @@ -tinibios.rel: tinibios.c ../../include/tinibios.h \ - ../../include/ds80c390.h ../../include/time.h ../../include/stdio.h \ - ../../include/stdarg.h ../../include/sdcc-lib.h \ - ../../include/asm/mcs51/features.h -memcpyx.rel: memcpyx.c ../../include/string.h -lcd390.rel: lcd390.c ../../include/tinibios.h ../../include/ds80c390.h \ - ../../include/time.h ../../include/stdio.h ../../include/stdarg.h \ - ../../include/sdcc-lib.h ../../include/asm/mcs51/features.h -i2c390.rel: i2c390.c ../../include/tinibios.h ../../include/ds80c390.h \ - ../../include/time.h -rtc390.rel: rtc390.c ../../include/tinibios.h ../../include/ds80c390.h \ - ../../include/time.h ../../include/stdio.h ../../include/stdarg.h \ - ../../include/sdcc-lib.h ../../include/asm/mcs51/features.h \ - ../../include/ctype.h -putchar.rel: putchar.c ../../include/tinibios.h ../../include/ds80c390.h \ - ../../include/time.h ../../include/stdio.h ../../include/stdarg.h \ - ../../include/sdcc-lib.h ../../include/asm/mcs51/features.h -gptr_cmp.rel: gptr_cmp.c |
