shithub: scc

ref: ae6540fbe147eb182f05e94cd4072dc55b806196
dir: /src/libscc/Makefile/

View raw version
.POSIX:

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

OBJS =\
	debug.o\
	die.o\
	newitem.o\
	xcalloc.o\
	xmalloc.o\
	xrealloc.o\
	xstrdup.o\
	alloc.o\
	casecmp.o\
	genhash.o\

TARGET = $(LIBDIR)/scc/libscc.a

all: $(TARGET)

$(TARGET): $(OBJS)
	$(AR) $(PROJ_ARFLAGS) $@ $?
	$(RL) $(PROJ_RLFLAGS) $@

include deps.mk