CFLAGS += -Wall -std=gnu99 -pedantic -g

.PHONY: all depend clean check install

SRCS = transducer.c
OBJS = transducer.o

all: transducer

main: $(OBJS)
	$(CC) -o $@ $(LDFLAGS) $(CFLAGS) $^

depend:
	makedepend -s "# makedepend depends on me"\
	-- $(CFLAGS) -- $(SRCS)

clean:
	rm -f $(OBJS) transducer

check:
	@echo "No checks defined, sorry"

install:
	@echo "Nothing to install yet"