|
CC=gcc
|
|
CLIB=-L/usr/local/lib -llua5.3
|
|
INC=-I/usr/local/include
|
|
BIN=open_card_table
|
|
DEBUG=-g
|
|
|
|
open_card_table: main.o oct_networking.o oct_log.o
|
|
$(CC) -g $(INC) $(CLIB) -o $(BIN) $^
|
|
|
|
%.o: %.c
|
|
$(CC) -g $(INC) $(CLIB) -c -o $@ $<
|
|
|
|
test:
|
|
$(CC) $(INC) $(CLIB) test.c -o test $(DEBUG)
|