aboutsummaryrefslogtreecommitdiff
path: root/tests/C/Makefile
blob: 2b753be2fddc009d596530107bb6db964b12743c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CC= gcc-6 -std=gnu99
CFLAGS= -g -Wall -Wextra

LIBS= -lm -llua

all:
	$(CC) $(CFLAGS) $(LIBS) lua_pushnil.c             -o lua_pushnil.out
	$(CC) $(CFLAGS) $(LIBS) lua_pushnumber.c          -o lua_pushnumber.out
	$(CC) $(CFLAGS) $(LIBS) lua_pushinteger.c         -o lua_pushinteger.out
	$(CC) $(CFLAGS) $(LIBS) lua_pushstring.c          -o lua_pushstring.out
	$(CC) $(CFLAGS) $(LIBS) lua_pushboolean.c         -o lua_pushboolean.out
	$(CC) $(CFLAGS) $(LIBS) lua_pushvalue.c           -o lua_pushvalue.out
	$(CC) $(CFLAGS) $(LIBS) lua_pushcclosure-light.c  -o lua_pushcclosure-light.out
	$(CC) $(CFLAGS) $(LIBS) lua_call.c 				  -o lua_call.out
	$(CC) $(CFLAGS) $(LIBS) lua_call-jsclosure.c      -o lua_call-jsclosure.out
	$(CC) $(CFLAGS) $(LIBS) lua_pop.c 		          -o lua_pop.out
	$(CC) $(CFLAGS) $(LIBS) lua_setgettable.c 		  -o lua_setgettable.out