Skip to content
This repository was archived by the owner on Mar 18, 2023. It is now read-only.

Commit 8bec422

Browse files
committed
Second attempt to fix compiling on OS X. This should work now.
1 parent 89245cf commit 8bec422

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Makefile

+1-2
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,9 @@ modules:
7575
bin2o bootstrap/bootstrap.elf bootstrap_elf.o _bootstrap_elf
7676

7777
version:
78-
$(version.sh)
78+
./version.sh > version.h
7979

8080
main: $(EE_BIN)
81-
rm -f version.h
8281
rm -f *.o
8382
rm -f libraries/*.o
8483
rm -f bootstrap/*.elf bootstrap/*.o

version.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
22

3-
echo -n '#define GIT_VERSION "' > version.h
4-
git describe | tr -d '\n' >> version.h
5-
echo '"' >> version.h
3+
echo -n '#define GIT_VERSION "'
4+
git describe | tr -d '\n'
5+
echo '"'

0 commit comments

Comments
 (0)