shithub: scc

ref: b7e9430d7f6df2b479baba4470474d130039e8c6
dir: /src/as/Makefile/

View raw version
.POSIX:

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

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

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

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

all: $(TARGET)

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

dep: inc-dep

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

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