26 lines
318 B
Makefile
26 lines
318 B
Makefile
|
|
include ../config/include.mk
|
|
|
|
include ../vsn.mk
|
|
VSN=$(FD_SERVER_VSN)
|
|
|
|
ifeq ($(TYPE),debug)
|
|
DEBUG_FLAGS = -Ddebug
|
|
else
|
|
DEBUG_FLAGS =
|
|
endif
|
|
|
|
MODULES=bfile
|
|
|
|
EBIN = ../ebin
|
|
EBIN_FILES = $(MODULES:%=$(EBIN)/%.$(EMULATOR)) $(EBIN)/bfile.app
|
|
|
|
|
|
all: $(EBIN_FILES)
|
|
|
|
debug:
|
|
$(MAKE) DEBUG=-DDEBUG
|
|
clean:
|
|
rm -rf $(EBIN_FILES)
|
|
|