shithub: scc

ref: 50340afa8a166091644dc72230dabff7a132ac11
dir: /Makefile/

View raw version
# scc - Suckless C Compiler
.POSIX:

include config.mk

SUBDIRS  = \
	lib \
	cc1

all clean:
	@echo scc build options:
	@echo "CFLAGS   = ${CFLAGS}"
	@echo "LDFLAGS  = ${LDFLAGS}"
	@echo "CC       = ${CC}"
	@for i in ${SUBDIRS};\
	do \
		(cd $$i; ${MAKE} $(MAKEFLAGS) $@ || exit); \
	done;