summaryrefslogtreecommitdiff
path: root/tests/C/Makefile
blob: 7d943b9786d3a18dec819018f887dd4347f0b1bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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