diff options
author | Roman Yeryomin <roman@advem.lv> | 2012-09-22 19:44:27 +0300 |
---|---|---|
committer | Roman Yeryomin <roman@advem.lv> | 2012-12-03 00:13:22 +0200 |
commit | 709e200be3507c4f1eed2f4f2e0628b7cfba32c9 (patch) | |
tree | 2db687e9619cf0f83d4f7bac1f5bd8d3b75d6e6b /package/librtk-inband/src/Makefile | |
parent | 9e96cd6c1bdccc1f9d2d6978ae12523f00bd7f85 (diff) |
Add hostapd-rtk and librtk-inband packages
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'package/librtk-inband/src/Makefile')
-rw-r--r-- | package/librtk-inband/src/Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/package/librtk-inband/src/Makefile b/package/librtk-inband/src/Makefile new file mode 100644 index 000000000..fa0cb9a71 --- /dev/null +++ b/package/librtk-inband/src/Makefile @@ -0,0 +1,21 @@ +INCLUDES=-Iinclude + +LIBNAME=librtk-inband.so +APPNAME=rtk-inband + +all: $(LIBNAME) $(APPNAME) + +%.o: %.c + $(CC) -c -o $@ $(INCLUDES) $(CFLAGS) $< + +OBJ=inband_if.o ioh.o + +LIB_OBJ=hapd_api.o $(OBJ) +APP_OBJ=inband_cmd.o $(OBJ) + + +$(APPNAME):$(APP_OBJ) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) + +$(LIBNAME): $(LIB_OBJ) + $(CC) $(CFLAGS) -shared -o $@ $^ |