Skip to content

Commit d581ce5

Browse files
committed
missing flags
1 parent 8ba027f commit d581ce5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ moonc.o: moonc.c moonscript.h moon.h alt_getopt.h
2020
moonscript.o: moonscript.c moonscript.h
2121
gcc $(FLAGS) -c $< -o $@ -fpic -O2
2222

23+
lpeg.o: lpeg/lpeg.c
24+
gcc $(FLAGS) -c $< -o $@ -fpic -O2
25+
26+
lfs.o: luafilesystem/src/lfs.c
27+
gcc $(FLAGS) -c $< -o $@ -fpic -O2
28+
2329
# commited to repo:
2430

2531
headers: moonscript.h moonc.h moon.h alt_getopt.h
@@ -42,12 +48,6 @@ moonc.h:
4248
xxd -i moonc.lua > $@
4349
rm moonc.lua
4450

45-
lpeg.o: lpeg/lpeg.c
46-
gcc -c $< -o $@ -fpic -O2
47-
48-
lfs.o: luafilesystem/src/lfs.c
49-
gcc -c $< -o $@ -fpic -O2
50-
5151
clean:
5252
-rm *.o
5353
-rm *.exe

0 commit comments

Comments
 (0)