shithub: scc

ref: 5b7017f04867f0666222a6466ac016ab395fe128
dir: /src/ar/Makefile/

View raw version
.POSIX:

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

MORECFLAGS = -I$(DRIVER)

OBJS   = main.o \
         $(DRIVER)/driver.o \

TARGET = $(BINDIR)/ar

all: $(TARGET)

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

$(TARGET): $(OBJS)
	$(CC) $(SCC_LDFLAGS) $(OBJS) -lscc -o $@

dep: inc-dep

include deps.mk