Diff of /Makefile [798ba8] .. [691dac] Maximize Restore

  Switch to side-by-side view

--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@
 SOURCES=oggs_app.c rs232.c config.c 
 OBJECTS=$(SOURCES:.c=.o)
 
-all: $(SOURCES) oggs_app get_ipaddr use_sighttpd filecmp checkconfig
+all: $(SOURCES) oggs_app get_ipaddr use_sighttpd filecmp checkconfig get_stm8_version
 	
 oggs_app: $(OBJECTS) 
 	$(CC) $(OBJECTS) $(LIBRARIES) $(LDFLAGS) -o $@
@@ -24,12 +24,14 @@
 
 use_sighttpd:
 	$(CC) $(INCLUDES) $(CFLAGS) $(LIBRARIES) use_sighttpd.c -lconfig -o $@
-	
+
+get_stm8_version:
+	$(CC) $(INCLUDES) $(CFLAGS) $(LIBRARIES)  get_stm8_version.c rs232.c -o $@
 
 .c.o:
 	$(CC) -c $(CFLAGS) $(INCLUDES) $< -o $@
 
 clean:
-	rm -rf *.o oggs_app.gdb oggs_app get_ipaddr.gdb get_ipaddr use_sighttpd.gdb use_sighttpd filecmp filecmp.gdb checkconfig checkconfig.gdb
+	rm -rf *.o oggs_app.gdb oggs_app get_ipaddr.gdb get_ipaddr use_sighttpd.gdb use_sighttpd filecmp filecmp.gdb checkconfig checkconfig.gdb get_stm8_version get_stm8_version.gdb
 
 romfs: