Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
subjectxbj committed Mar 23, 2018
1 parent 690e90d commit 91989f3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ LIBS = -ljson-c -lcurl
CFLAGS = -g
#CFLAGS += -DHARDCODE_CONFIG

ALLOWED_INCLUDE_PATHS = -I/usr/local/include/json-c \
-I/usr/local/include/curl \
-I/usr/include/json-c \
-I/usr/include/curl
ALLOWED_LIB_PATHS = -L/usr/local/lib/:/usr/lib/
ALLOWED_INCLUDE_PATHS = -I$(ROOTFS)/usr/local/include/json-c \
-I$(ROOTFS)/usr/local/include/curl \
-I$(ROOTFS)/usr/include/json-c \
-I$(ROOTFS)/usr/include/curl
ALLOWED_LIB_PATHS = -L$(ROOTFS)/usr/local/lib/:$(ROOTFS)/usr/lib/

.PHONY: all clean install

Expand All @@ -27,7 +27,7 @@ lwa.o: lwa.c
config.o: config.c
$(CC) -c $(CFLAGS) config.c -o config.o $(ALLOWED_INCLUDE_PATHS)
install:
cp $(EXE) /usr/local/bin/
cp $(EXE) $(ROOTFS)/usr/local/bin/

clean:
rm $(OBJS)
Expand Down

0 comments on commit 91989f3

Please sign in to comment.