shithub: fc

ref: 3f9f47b86b3e0f9b16d8613d1b62396b0ddae6fc
dir: /mkfile/

View raw version

</$objtype/mkfile

# Compiler flags
CFLAGS=-FVTw

# Targets
BIN=$home/bin/amd64
TARG=fc

# Source files
APP=fc.6

# Build rules
all:V: $BIN/$TARG

$APP: $TARG.c
	6c $CFLAGS $TARG.c

$BIN/$TARG: $APP
	6l -o $target $APP

nuke:
	rm -f *.6 $BIN/$TARG
clean:
	rm -f *.6