
BC := fbc
BFLAGS := -w all

ifdef DEBUG
BFLAGS += -exx
BFLAGS += -g
BFLAGS += -d DEBUG
endif

SOURCES := $(wildcard *.bi)
SOURCES += $(filter-out moustique.bas,$(wildcard *.bas))
#$(info SOURCES = $(SOURCES))

../moustique: moustique.bas $(SOURCES) Makefile
	$(BC) $(BFLAGS) $< -x $@
