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/pdk14 | |
| parent | 1dcefbf527e52315abfe3b4871272b3fd9bb0f4b (diff) | |
| download | sdcc-gas-e524f157266c07a7a4cf3b766edd6ff9db98e4f4.tar.gz | |
Removed intermediate files
Diffstat (limited to 'device/lib/pdk14')
| -rw-r--r-- | device/lib/pdk14/Makefile | 108 |
1 files changed, 0 insertions, 108 deletions
diff --git a/device/lib/pdk14/Makefile b/device/lib/pdk14/Makefile deleted file mode 100644 index 82cf313..0000000 --- a/device/lib/pdk14/Makefile +++ /dev/null @@ -1,108 +0,0 @@ -# libc/pdk14 Makefile - - -srcdir = . -top_builddir = ../../.. - -LIB_TYPE = RANLIB - -SCC = $(top_builddir)/bin/sdcc -mpdk14 -SAS = $(top_builddir)/bin/sdaspdk14 - -# override PORTDIR defined by super (parent) makefile -override PORTDIR = ../build/pdk14 - -include $(srcdir)/../incl.mk - -PDK14_FLOAT = $(COMMON_FLOAT) - -PDK14_INT = $(COMMON_INT) \ - _muluchar.c \ - _mulschar.c \ - _mulint.c \ - _divuchar.c \ - _divschar.c \ - _divuint.c \ - _divsint.c \ - _moduchar.c \ - _modschar.c \ - _moduint.c \ - _modsint.c - -PDK14_LONG = $(COMMON_LONG) \ - _divulong.c \ - _mullong.c - -PDK14_LONGLONG = $(COMMON_LONGLONG) \ - _rrulonglong.c \ - _rrslonglong.c \ - _rlulonglong.c \ - _rlslonglong.c \ - _mullonglong.c \ - _divslonglong.c \ - _divulonglong.c \ - _modslonglong.c \ - _modulonglong.c - -PDK14_SDCC = $(COMMON_SDCC) \ - _itoa.c \ - _startup.c \ - _strcmp.c \ - _strcpy.c \ - _strlen.c \ - _memmove.c \ - __memcpy.c \ - memcpy.c \ - sprintf.c \ - vprintf.c - -PDK14SOURCES = $(addprefix ../,$(PDK14_FLOAT) $(PDK14_INT) $(PDK14_LONG) $(PDK14_LONGLONG) $(PDK14_SDCC)) -PDK14OBJECTS = $(patsubst %.c,%.rel,$(PDK14_FLOAT) $(PDK14_INT) $(PDK14_LONG) $(PDK14_LONGLONG) $(PDK14_SDCC)) - -OBJ = __gptrget.rel __gptrget2.rel heap.rel __setjmp.rel - -LIB = pdk14.lib -CC = $(SCC) -AS = $(SAS) -ASFLAGS = -plosgff - -CFLAGS = -I$(srcdir)/../../include -I. --std-c11 - -all: $(PORTDIR)/$(LIB) - -$(PORTDIR)/$(LIB): $(OBJ) $(PDK14OBJECTS) Makefile -ifeq ($(LIB_TYPE), SDCCLIB) - rm -f $@; \ - $(top_builddir)/bin/sdcclib -a $@ $(OBJ) $(PDK14OBJECTS) -else - ifeq ($(LIB_TYPE), AR) - $(top_builddir)/bin/sdar -rcSD $@ $(OBJ) $(PDK14OBJECTS) - else - ifeq ($(LIB_TYPE), RANLIB) - $(top_builddir)/bin/sdar -rcD $@ $(OBJ) $(PDK14OBJECTS) - else - rm -f $@ - for i in $(basename $(OBJ) $(PDK14OBJECTS)); do echo $$i >>$@; done - cp $(OBJ) $(PDK14OBJECTS) $(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 - |
