diff options
| author | Lua Team <team@lua.org> | 1995-02-07 12:00:00 +0000 |
|---|---|---|
| committer | repogen <> | 1995-02-07 12:00:00 +0000 |
| commit | a8b6ba0954edb9e0e669e1f451b9a8f145ce5166 (patch) | |
| tree | 35e9e9999968c4f13a25a5f647203456f044274a /clients/lua/Makefile | |
| parent | 944fc7d7d95575f2b8023c1f3d4ac19e1369fc76 (diff) | |
| download | lua-github-2.1.tar.gz | |
Lua 2.12.1
Diffstat (limited to 'clients/lua/Makefile')
| -rw-r--r-- | clients/lua/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/clients/lua/Makefile b/clients/lua/Makefile index 7bb74208..10538d67 100644 --- a/clients/lua/Makefile +++ b/clients/lua/Makefile @@ -5,13 +5,23 @@ INC= $(LUA)/include LIB= $(LUA)/lib CC= gcc -CFLAGS= -g -Wall -O2 -I$(INC) +CFLAGS= $(INCS) $(DEFS) $(WARN) -O2 + +# in SunOs /usr/5include contains prototypes for standard lib +INCS= -I/usr/5include -I$(INC) +WARN= -Wall -Wmissing-prototypes -Wshadow -ansi OBJS= lua.o + T=$(BIN)/lua $T: $(OBJS) $(CC) -o $@ $(OBJS) -L$(LIB) -llua -llualib -lm +dynamic: + clean: rm -f $T $(OBJS) + +co: + co -M lua.c |
