shithub: scc

ref: 8a373bda8ce41c144488593ec6ef0550c305e7bc
dir: /lib/Makefile/

View raw version
# See LICENSE file for copyright and license details.
.POSIX:
include ../config.mk

OBJS = debug.o die.o newitem.o xcalloc.o xmalloc.o xrealloc.o xstrdup.o

all: libcc.a


libcc.a: $(OBJS)
	ar $(ARFLAGS) $@ $?
	ranlib $@

clean:
	rm -f *.o *.a