xbot/mods/hello/Makefile

7 lines
118 B
Makefile
Raw Normal View History

2015-04-18 15:51:15 +00:00
CC=gcc
CFLAGS=-fPIC -I../../lib
OBJ=../hello.so
main:
$(CC) -shared -o $(OBJ) $(CFLAGS) ./hello.c
@echo "All Done!"