all : execute_reflash page.mpfs push IP?=192.168.4.1 mfsmaker : mfsmaker.c gcc -o $@ $^ page.mpfs : mfsmaker page # cat to_compress/*.js | gzip -9 > page/compressed.js.gz ./mfsmaker page page.mpfs pushtodev : pushtodev.c gcc -o $@ $^ execute_reflash : execute_reflash.c md5.c gcc -o $@ $^ push : pushtodev page.mpfs ./pushtodev $(IP) 65536 page.mpfs # ./pushtodev $(IP) 1048576 page.mpfs clean : rm -rf mfsmaker page.mpfs pushtodev execute_reflash