shithub: scc

ref: 994751d39485e086ef623f202fb1b84729fd5d19
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