7 lines
118 B
Makefile
7 lines
118 B
Makefile
|
CC=gcc
|
||
|
CFLAGS=-fPIC -I../../lib
|
||
|
OBJ=../hello.so
|
||
|
|
||
|
main:
|
||
|
$(CC) -shared -o $(OBJ) $(CFLAGS) ./hello.c
|
||
|
@echo "All Done!"
|