root := /usr/sword
subdirs := 
pre-targets := 
targets := diatheke
bin := diatheke
include ${root}/Makefile.cfg

cpp += diatheke.cpp

s = $(c) $(cpp)
d = $(c:%.c=%.d) $(cpp:%.cpp=%.d)
o = $(c:%.c=%.o) $(cpp:%.cpp=%.o)
l = -lsword -lstdc++


diatheke: $(o)
	$(CC) $(LFLAGS) -o $@ $@.o $(l) $(l)

ifneq ($(nodeps),yes)
-include $(d)
endif
