Booten in Titelbild.
[hackover2013-badge-firmware.git] / mock / Makefile
index 11c7b7e..a62a8e3 100644 (file)
@@ -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)
This page took 0.020787 seconds and 4 git commands to generate.