shithub: scc

ref: 9808986ecdffae601440c8278ba31c027985ab35
dir: /as/Makefile/

View raw version
.POSIX:

PROJECTDIR = ..
include $(PROJECTDIR)/rules.mk
include $(LIBSCC)/libdep.mk

OBJ = main.o symbol.o ins.o parser.o expr.o myro.o
MORECFLAGS = -I$(INCLUDE)/$(STD)
TARGETS = $(LIBEXEC)/as-amd64 $(LIBEXEC)/as-i386 \
          $(LIBEXEC)/as-i286 $(LIBEXEC)/as-z80

all: $(TARGETS)

$(TARGETS): $(LIBDIR)/libscc.a

dep:
	$(PROJECTDIR)/mkdep.sh

clean:
	rm -f *.o target/*/*.o
	rm -f target/*/*tbl.c
	rm -f as-*
	rm -f $(TARGETS)

include target/amd64.mk
include target/i386.mk
include target/i286.mk
include target/z80.mk
include deps.mk