Compare commits

...
Sign in to create a new pull request.

5 commits

Author SHA1 Message Date
Howland Owl
2da61079de some debug for lua that got me to where I don't think I need lua.
- thanks to debugging and seeing variables internally
2017-04-25 23:45:13 +03:00
Howland Owl
f164ada948 call the lua stuff. 2017-04-25 22:51:32 +03:00
Howland Owl
ca58921e2e a simple test lua file. doesn't do anything useful yet. 2017-04-25 22:51:22 +03:00
Howland Owl
e09862023e lua chunks. mainly from troubleshooters.com
- and for now is just test shit.
2017-04-25 22:41:26 +03:00
Howland Owl
405178f89e add lua for linking; compile with clang
- works with gcc but fuck gcc
2017-04-25 22:41:05 +03:00
3 changed files with 1953 additions and 1888 deletions

9
color.lua Normal file
View file

@ -0,0 +1,9 @@
-- Lua test file
function ithecolors( c )
io.write("some shit from lua\n")
-- io.write(c)
io.write("\n")
end
ithecolors()

View file

@ -14,7 +14,7 @@ X11LIB = /usr/X11R6/lib
INCS = -I. -I/usr/include -I${X11INC} \
`pkg-config --cflags fontconfig` \
`pkg-config --cflags freetype2`
LIBS = -L/usr/lib -lc -L${X11LIB} -lm -lrt -lX11 -lutil -lXext -lXft -lXrender\
LIBS = -L/usr/lib -lc -L${X11LIB} -lm -lrt -lX11 -lutil -lXext -lXft -lXrender -llua\
`pkg-config --libs fontconfig` \
`pkg-config --libs freetype2`
@ -26,3 +26,4 @@ LDFLAGS += -g ${LIBS}
# compiler and linker
# CC = cc
CC=clang

1069
st.c

File diff suppressed because it is too large Load diff