summaryrefslogblamecommitdiff
path: root/embedding_example/Makefile
blob: e4ee3146ae8399afc441c59d9f2c57a7ddfc7ed2 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                                     
CFLAG += -I ../install/include/luajit-2.0/  -I ../install/include/nerv/
LDFLAG += -L../install/lib/ -lluajit-5.1 -Wl,-rpath=../install/lib/ -lluaT -lnervcore
GCC := gcc

main: main.o
	$(GCC) -o $@ $<  $(LDFLAG)

main.o: main.c
	$(GCC) $(CFLAG) -o $@ $< -c