Makefile 540 B

1234567891011121314151617
  1. COPYRIGHT_FILE = ../COPYRIGHT
  2. override CXXFLAGS += -I../libopenbw_core/source -I../libopenbw_ui/source
  3. override LOCALIB = ../libopenbw_ui/out/libopenbw_ui.a
  4. override LDLIBS += -lsimple_graphical -lsimple_interactive -lsimple_sdlcore -lSDL2 -lSDL2_mixer
  5. # TODO: figure out the emscripten setup
  6. LOCAL_MAKE_INCLUDE := include
  7. override TEMPLATE := make_templates/binary
  8. override LOCAL_TEMPLATE := $(LOCAL_MAKE_INCLUDE)/$(TEMPLATE)
  9. ifneq ($(shell cat $(LOCAL_TEMPLATE) 2> /dev/null),)
  10. include $(LOCAL_TEMPLATE)
  11. else
  12. include $(TEMPLATE)
  13. endif