open-card-table/Makefile

15 lines
284 B
Makefile

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