2020-12-22 14:19:32 -08:00
|
|
|
CC = gcc
|
2021-02-22 17:35:17 -08:00
|
|
|
CFLAGS = -shared -Wall -Wno-unknown-pragmas -fPIC
|
2020-12-22 14:19:32 -08:00
|
|
|
|
|
|
|
all:
|
2021-01-07 13:56:08 -08:00
|
|
|
@${CC} ${CFLAGS} getch.c -o libgetch.so
|
2020-12-22 14:19:32 -08:00
|
|
|
clean:
|
2021-01-07 13:56:08 -08:00
|
|
|
@rm -f libgetch.so
|
2020-12-22 14:19:32 -08:00
|
|
|
|
|
|
|
|