Rename lcallisto.c -> callisto.c
This commit is contained in:
parent
221ef63cd4
commit
4e03fc1620
2 changed files with 16 additions and 11 deletions
25
Makefile
25
Makefile
|
@ -2,7 +2,7 @@ PREFIX = /usr/local
|
|||
|
||||
include config.mk
|
||||
|
||||
OBJS = csto.o lcallisto.o lcl.o lenviron.o lextra.o lfile.o \
|
||||
OBJS = csto.o callisto.o lcl.o lenviron.o lextra.o lfile.o \
|
||||
ljson.o lprocess.o lsocket.o util.o
|
||||
LIBS = liblua.a cjson.a socket.a
|
||||
|
||||
|
@ -18,15 +18,15 @@ libcallisto.so: ${LIBS} ${OBJS}
|
|||
.c.o:
|
||||
${CC} ${CFLAGS} ${CPPFLAGS} -c $<
|
||||
|
||||
csto.o: csto.c lcallisto.h
|
||||
lcallisto.o: lcallisto.c lcallisto.h
|
||||
lcl.o: lcl.c lcallisto.h
|
||||
lextra.o: lextra.c lcallisto.h
|
||||
lenviron.o: lenviron.c lcallisto.h
|
||||
lfile.o: lfile.c lcallisto.h
|
||||
ljson.o: ljson.c lcallisto.h
|
||||
lprocess.o: lprocess.c lcallisto.h
|
||||
lsocket.o: lsocket.c lcallisto.h
|
||||
csto.o: csto.c callisto.h
|
||||
callisto.o: callisto.c callisto.h
|
||||
lcl.o: lcl.c callisto.h
|
||||
lextra.o: lextra.c callisto.h
|
||||
lenviron.o: lenviron.c callisto.h
|
||||
lfile.o: lfile.c callisto.h
|
||||
ljson.o: ljson.c callisto.h
|
||||
lprocess.o: lprocess.c callisto.h
|
||||
lsocket.o: lsocket.c callisto.h
|
||||
util.o: util.c
|
||||
|
||||
cjson.a: external/json/*.c
|
||||
|
@ -42,6 +42,7 @@ liblua.a: lua-5.4/*.c
|
|||
|
||||
clean:
|
||||
rm -f csto libcallisto.so ${OBJS} ${LIBS}
|
||||
rm -fr include
|
||||
rm -fr doc/*.html doc/modules
|
||||
${MAKE} -s -Clua-5.4 clean
|
||||
${MAKE} -s -Cexternal/json clean
|
||||
|
@ -51,7 +52,11 @@ doc:
|
|||
ldoc -q . >/dev/null
|
||||
|
||||
install:
|
||||
mkdir -p include/callisto
|
||||
mkdir -p ${DESTDIR}${PREFIX}/{bin,lib}
|
||||
cp -f callisto.h include/callisto
|
||||
cp -f lua-5.4/{lua.h,lualib.h,lauxlib.h,luaconf.h} \
|
||||
include/callisto
|
||||
cp -f csto ${DESTDIR}${PREFIX}/bin
|
||||
cp -f libcallisto.so ${DESTDIR}${PREFIX}/lib
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#include <lualib.h>
|
||||
#include <lauxlib.h>
|
||||
|
||||
#include "lcallisto.h"
|
||||
#include "callisto.h"
|
||||
|
||||
|
||||
static const luaL_Reg loadedlibs[] = {
|
Loading…
Add table
Add a link
Reference in a new issue