CFLAGS="-I$(CURDIR)/../../OBJ/include/happy/" \
LDFLAGS="-L$(CURDIR)/../../OBJ/lib/" \
LIBS="-lhappy" \
CFLAGS = where is happy.h
LDFLAGS = Where is happy.so
LIBS = include happy.so
happy.h define into C code.
The example like following code.
#include <stdio.h>
#include <happy.h>
int main()
{
printf("happy");
}
0 意見:
張貼留言