X-Git-Url: https://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/8164e94111f5ef7a26dcafdf258083299c07f010..b2d84a4b240edc1e4e15793180529eacce45cec8:/mock/Makefile?ds=inline diff --git a/mock/Makefile b/mock/Makefile index 638e8e8..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 @@ -86,5 +87,7 @@ $(CONVERTER): $(CONVERTER_OBJS) $(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)