shithub: scc

ref: 30cae77283e7835928d0f3e1e67eca5c1efa2b18
dir: /driver/posix/Makefile/

View raw version
# See LICENSE file for copyright and license details.
.POSIX:

include ../../config.mk

OBJS = scc.o

all: scc

$(OBJS): ../../inc/cc.h

../../lib/libcc.a:
	cd ../../lib && $(MAKE) -e -$(MAKEFLAGS)

scc: $(OBJS) ../../lib/libcc.a
	$(CC) $(SCC_LDFLAGS) $(OBJS) ../../lib/libcc.a -o $@

clean:
	rm -f $(OBJS)
	rm -f scc