shithub: fc

ref: 75db9e5e065040075706b9a6c102b04d1b43d130
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