Skip to content
This repository has been archived by the owner on Nov 21, 2020. It is now read-only.

Commit

Permalink
Add shebang for sh script, remove /MD from CMD script
Browse files Browse the repository at this point in the history
  • Loading branch information
dd86k committed Dec 15, 2018
1 parent c82d421 commit 641cb30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build-clang-cl.cmd
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@ECHO OFF
set t="\"%date% %time%\""
clang-cl src\*.c src\executables\*.c src\etc\*.c src\images\*.c src\documents\*.c src\audio\*.c src\archives\*.c src\vdisk\*.c %1 %2 %3 -DTIMESTAMP=%t% /Zp /MD /o "ff.exe"
clang-cl src\*.c src\executables\*.c src\etc\*.c src\images\*.c src\documents\*.c src\audio\*.c src\archives\*.c src\vdisk\*.c %1 %2 %3 -DTIMESTAMP=%t% /Zp /o "ff.exe"
1 change: 1 addition & 0 deletions build-clang.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/sh
#T="\"`date +"%Y-%m-%d %H:%M:%S"`\""
clang src/*.c src/executables/*.c src/etc/*.c src/images/*.c src/documents/*.c src/audio/*.c src/archives/*.c src/vdisk/*.c $1 $2 $3 -std=gnu99 -fno-stack-protector -fshort-enums -fstrict-enums -fpack-struct=1 -lm -off
#-DTIMESTAMP="$T"

0 comments on commit 641cb30

Please # to comment.