shithub: scc

ref: 0723bca7d5a307fb6d1dcb61555c13fcae0ee9cb
dir: /Makefile/

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

include config.mk

SUBDIRS  = \
	lib \
	cc1 \
	cc2

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;