projects
/
oweals
/
uci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3da86cb
)
compile fixes for native compilation
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 13 Apr 2008 13:43:14 +0000
(15:43 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 13 Apr 2008 13:43:14 +0000
(15:43 +0200)
lua/Makefile
patch
|
blob
|
history
diff --git
a/lua/Makefile
b/lua/Makefile
index 9cc6c397696aa10452cc75a0ff41e07ebeac3576..76b936d709c7f5dba0c16d1482935c5c3dc7beb8 100644
(file)
--- a/
lua/Makefile
+++ b/
lua/Makefile
@@
-1,6
+1,6
@@
include ../Makefile.inc
-CPPFLAGS=-I..
+CPPFLAGS=-I..
$(shell pkg-config --silence-errors --cflags lua5.1)
LIBS=-L.. -luci
PLUGIN_LD=$(CC)
@@
-16,7
+16,7
@@
uci.so: uci.o
$(PLUGIN_LD) $(PLUGIN_LDFLAGS) -o $@ $^ $(LIBS)
%.o: %.c
- $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
+ $(CC) $(CPPFLAGS) $(CFLAGS)
$(FPIC)
-c -o $@ $<
install:
mkdir -p $(DESTDIR)$(prefix)/lib/lua/5.1