SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
23
lang/microscheme/patches/patch-makefile
Normal file
23
lang/microscheme/patches/patch-makefile
Normal file
|
@ -0,0 +1,23 @@
|
|||
Index: makefile
|
||||
--- makefile.orig
|
||||
+++ makefile
|
||||
@@ -21,7 +21,7 @@ src/microscheme_hex.c: src/*.ms
|
||||
xxd -i src/avr_core.ms >> src/microscheme_hex.c
|
||||
|
||||
microscheme: hexify src/*.h src/*.c
|
||||
- gcc -ggdb -std=gnu99 -Wall -Wextra -Werror -o microscheme src/*.c
|
||||
+ $(CC) $(CFLAGS) -o microscheme src/*.c
|
||||
|
||||
check:
|
||||
cppcheck --enable=all --inconclusive --std=c11 --error-exitcode=2 src
|
||||
@@ -33,8 +33,8 @@ format:
|
||||
install:
|
||||
install -d $(PREFIX)/bin/
|
||||
install -m755 ./microscheme $(PREFIX)/bin/microscheme
|
||||
- install -d $(PREFIX)/share/microscheme/
|
||||
- cp -r examples/ $(PREFIX)/share/microscheme/
|
||||
+ install -d $(PREFIX)/share/examples/microscheme/
|
||||
+ cp -R examples/* $(PREFIX)/share/examples/microscheme/
|
||||
|
||||
clean:
|
||||
-rm microscheme
|
Loading…
Add table
Add a link
Reference in a new issue