My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions

Issue 13 attachment: handcoded_paths.diff (794 bytes)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/lang_ext/lua/Makefile b/lang_ext/lua/Makefile
index 19c2c87..956a2e8 100644
--- a/lang_ext/lua/Makefile
+++ b/lang_ext/lua/Makefile
@@ -12,10 +12,10 @@ clean:
.PHONY: all clean default

bc_read_stream.o: bc_read_stream.c ../../runtime/include/gazelle/bc_read_stream.h
- gcc $(CFLAGS) -o bc_read_stream.o -c bc_read_stream.c -I../../runtime/include -I/usr/include/lua5.1
+ gcc $(CFLAGS) -o bc_read_stream.o -c bc_read_stream.c -I../../runtime/include $(LUA_INCLUDE)

gazelle.o: gazelle.c ../../runtime/include/gazelle/bc_read_stream.h ../../runtime/include/gazelle/parse.h
- gcc $(CFLAGS) -o gazelle.o -c gazelle.c -I../../runtime/include -I/usr/include/lua5.1
+ gcc $(CFLAGS) -o gazelle.o -c gazelle.c -I../../runtime/include $(LUA_INCLUDE)

ifeq ($(shell uname), Darwin)

Powered by Google Project Hosting