shithub: scc

ref: 041d2d96655de6afaac6b20437df8897b03f6c92
dir: /src/cmd/as/Makefile/

View raw version
.POSIX:

PROJECTDIR = ../../..
include $(PROJECTDIR)/scripts/rules.mk

MORE_CFLAGS = -I$(INCDIR)/$(STD)

OBJS = \
	main.o\
	symbol.o\
	ins.o\
	parser.o\
	expr.o\

TARGET =\
	$(LIBEXEC)/scc/as-powerpc64\
	$(LIBEXEC)/scc/as-powerpc\
	$(LIBEXEC)/scc/as-amd64\
	$(LIBEXEC)/scc/as-i386\
	$(LIBEXEC)/scc/as-i286\
	$(LIBEXEC)/scc/as-z80 \

all: $(TARGET)

$(TARGET): $(LIBSCC)

clean:
	rm -f target/*/*.o target/*/*tbl.c

include target/powerpc/powerpc64.mk
include target/powerpc/powerpc.mk
include target/x86/amd64.mk
include target/x86/i386.mk
include target/x86/i286.mk
include target/x80/z80.mk
include deps.mk