diff options
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 |
