diff options
author | Guido Günther <agx@sigxcpu.org> | 2011-06-16 22:13:53 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2011-06-16 23:37:57 +0200 |
commit | 399eff17bd4de7663bbf2914e59a7d3a99ccc153 (patch) | |
tree | 41ff7a901ad2903a9114b0678a937aba69af034d /tip22/Makefile | |
parent | 01c99b53048b4d436eb55e9bf22414610f17d057 (diff) |
Fix address substitution for IP32
it was being handled as IP22 in tip22
Diffstat (limited to 'tip22/Makefile')
-rw-r--r-- | tip22/Makefile | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/tip22/Makefile b/tip22/Makefile index 1df2fb2..16031e5 100644 --- a/tip22/Makefile +++ b/tip22/Makefile @@ -1,5 +1,5 @@ # -# Copyright 2002-2004 Guido Guenther <agx@sigxcpu.org> +# Copyright 2002-2004,2011 Guido Guenther <agx@sigxcpu.org> # ARCLIBDIR = ../arclib @@ -24,21 +24,11 @@ TARGETS = $(OBJECTS) $(LD_SCRIPTS) # uncomment for debugging #CFLAGS+=-DDEBUG - -all: ${LIBS} ${BINS} - @$(MAKE) SUBARCH=IP32 archall - @$(MAKE) SUBARCH=IP22 archall - -archall: $(TARGETS) - +all: ${LIBS} ${BINS} $(TARGETS) $(ARCLIB): @$(MAKE) -C $(ARCLIBDIR) -$(PRINT_LOADADDR): - @$(MAKE) -C $(COMMONDIR) SUBARCH=$(SUBARCH) - - %.$(SUBARCH).o: %.c $(CC) $(CFLAGS) -c -o $@ $< @@ -49,22 +39,12 @@ $(PRINT_LOADADDR): -e "s/@@OUTPUTFORMAT@@/$$OUTPUTFORMAT/" <$< >$@ clean: - @$(MAKE) SUBARCH=IP32 archclean - @$(MAKE) SUBARCH=IP22 archclean rm -f tags *~ - -archclean: - @$(MAKE) -C $(ARCLIBDIR) clean - @$(MAKE) -C $(COMMONDIR) clean rm -f $(TARGETS) install: all install -d ${PREFIX}/${BINDIR} install -m 755 ${BINS} ${PREFIX}/${BINDIR} - @$(MAKE) SUBARCH=IP32 archinstall - @$(MAKE) SUBARCH=IP22 archinstall - -archinstall: $(foreach tg,$(TARGETS),install -m 644 $(tg) ${PREFIX}/${LIBDIR};) |