We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bac23ea commit be59a84Copy full SHA for be59a84
.gitignore
@@ -4,3 +4,4 @@ build
4
*.pfs0
5
*.nacp
6
*.nro
7
+*.bz2
Makefile
@@ -1,7 +1,13 @@
1
-MAKEFILES := $(shell find . -mindepth 2 -name Makefile)
2
-
3
-all:
- @for i in $(MAKEFILES); do $(MAKE) -C `dirname $$i` || exit 1; done;
-clean:
- @for i in $(MAKEFILES); do $(MAKE) -C `dirname $$i` clean || exit 1; done;
+MAKEFILES := $(shell find . -mindepth 2 -name Makefile)
+
+DATESTRING := $(shell date +%Y)$(shell date +%m)$(shell date +%d)
+all:
+ @for i in $(MAKEFILES); do $(MAKE) -C `dirname $$i` || exit 1; done;
8
+clean:
9
+ @rm -f *.bz2
10
+ @for i in $(MAKEFILES); do $(MAKE) -C `dirname $$i` clean || exit 1; done;
11
12
+dist: clean
13
+ @tar -cvjf switch-examples-$(DATESTRING).tar.bz2 *
0 commit comments