# Newtish Makefile for defmake and defind

CC = cc
LD = cc
CFLAGS =
LDFLAGS = -s

default:	defind

defmake:	defmake.c tokens.h
	$(CC) $(CFLAGS) $@.c $(LDFLAGS) -o $@

defind.c:	defmake
	./defmake

defind:		defind.c
	$(CC) $(CFLAGS) $@.c $(LDFLAGS) -o $@

clean:
	rm -f defmake defind defind.c
