X-Git-Url: https://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/0e142e7a8d04db5ceaa41a866f67ef6f92fcd189..4292be14c78b8f30075c9e4837dd026f6fec532e:/mock/Makefile?ds=sidebyside diff --git a/mock/Makefile b/mock/Makefile index 11c7b7e..a62a8e3 100644 --- a/mock/Makefile +++ b/mock/Makefile @@ -7,6 +7,7 @@ LDLIBS = $$(pkg-config --libs gtkmm-3.0) BADGE = badge CONVERTER = level-converter +LEVELLIST = levels.txt GLADEFILES = lcd-display.glade @@ -83,8 +84,10 @@ distclean: clean $(RM) $(DEPS) $(wildcard *~) $(CONVERTER): $(CONVERTER_OBJS) - $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) $(LDLIBS) -o $@ $+ + $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LDLIBS) play: all + echo > $(LEVELLIST) + ls ../badge/jumpnrun/levels/*.lv | xargs -n1 basename | cut -d . -f 1 > $(LEVELLIST) ./$(CONVERTER) ./$(BADGE)