blob: 1dd108f497842126082afcd9c9e939208f9ef4f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
SRC=src/curses.c src/luacurses.c
INCLUDE=/usr/include/lua5.1
CFLAGS=-shared -ansi -Wall -O2 -I$(INCLUDE) -fpic
all: lib/curses.so
lib/curses.so: $(SRC)
if ! [ -d lib ]; then mkdir lib; fi
gcc $(CFLAGS) -o lib/curses.so $(SRC)
clean:
rm -Rf lib
|