File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 1+ FLAGS =-Iinclude/
12
23all : moon.exe moonc.exe moonscript.dll
34
45moon.exe : moon.c lfs.o lpeg.o moonscript.h moon.h alt_getopt.h
5- gcc -o $@ $< lfs.o lpeg.o -llua51 -O2
6+ gcc $( FLAGS ) -o $@ $< lfs.o lpeg.o -llua51 -O2
67
78moonc.exe : moonc.c lfs.o lpeg.o moonscript.h moonc.h alt_getopt.h
8- gcc -o $@ $< lfs.o lpeg.o -llua51 -O2
9+ gcc $( FLAGS ) -o $@ $< lfs.o lpeg.o -llua51 -O2
910
1011moonscript.dll : lpeg.o moonscript.o
11- gcc -o $@ $+ -llua51 -O2 -shared -fpic
12+ gcc $( FLAGS ) -o $@ $+ -llua51 -O2 -shared -fpic
1213
1314moon.o : moon.c moonscript.h moon.h alt_getopt.h
14- gcc -c $< -o $@ -fpic -O2
15+ gcc $( FLAGS ) -c $< -o $@ -fpic -O2
1516
1617moonc.o : moonc.c moonscript.h moon.h alt_getopt.h
17- gcc -c $< -o $@ -fpic -O2
18+ gcc $( FLAGS ) -c $< -o $@ -fpic -O2
1819
1920moonscript.o : moonscript.c moonscript.h
20- gcc -c $< -o $@ -fpic -O2
21+ gcc $(FLAGS ) -c $< -o $@ -fpic -O2
22+
23+ # commited to repo:
2124
2225headers : moonscript.h moonc.h moon.h alt_getopt.h
2326
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ branches:
44
55install :
66 - ps : Start-FileDownload 'http://leafo.net/dump/lua5_1_4_Win32_dll8_lib.zip'
7- - 7z e lua5_1_4_Win32_dll8_lib.zip
7+ - 7z x lua5_1_4_Win32_dll8_lib.zip
88 - set PATH=C:\MinGW\bin;C:\MinGW\msys\1.0\bin;%PATH%
99 - dir .
1010
You can’t perform that action at this time.
0 commit comments