File: config

package info (click to toggle)
tolua 5.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch, wheezy
  • size: 904 kB
  • ctags: 525
  • sloc: ansic: 6,051; cpp: 460; makefile: 112
file content (40 lines) | stat: -rw-r--r-- 1,010 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# configuration file for making tolua

# == CHANGE THE SETTINGS BELOW TO SUIT YOUR ENVIRONMENT ======================

# you need an ANSI C compiler. gcc is a popular one.
CC= gcc
CCPP = g++
WARN= -ansi -Wall

# on SGI's, cc is ANSI.
#CC= cc
#WARN= -ansi -fullwarn

# if your system doesn't have (or need) ranlib, change "ranlib" to "true".
# on some systems, "ar s" does it.
RANLIB= ranlib
#RANLIB= ar s
#RANLIB= true

# this should work in all unix systems.
AR= ar rcu

# set lua path
LUA=/usr
LUAINC=$(LUA)/include/lua5.2
LUALIB=$(LUA)/lib

# == END OF USER SETTINGS. DO NOT CHANGE ANYTHING BELOW THIS LINE ============

INC= -I$(TOLUA)/include -I$(LUAINC) 
LIB= $(shell dpkg-buildflags --get LDFLAGS) -L$(TOLUA)/lib -L$(LUALIB)

#CFLAGS= -O2 $(WARN) $(INC)
#CPPFLAGS=  -O2 $(WARN) $(INC)
CFLAGS= $(shell dpkg-buildflags --get CPPFLAGS) \
 $(shell dpkg-buildflags --get CFLAGS) \
 $(WARN) $(INC)
CPPFLAGS= $(shell dpkg-buildflags --get CPPFLAGS) \
 $(shell dpkg-buildflags --get CXXFLAGS) \
 $(WARN) $(INC)