Skip to content

Commit

Permalink
support libUseful-5
Browse files Browse the repository at this point in the history
  • Loading branch information
ColumPaget committed Mar 4, 2023
1 parent 2287bbd commit 92687be
Show file tree
Hide file tree
Showing 10 changed files with 1,208 additions and 354 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
VERSION=1.6
CC=gcc
LIBS= libUseful-4/libUseful.a
LIBS= -lcrypto -lssl -lUseful-5
FLAGS=-g -O2 -DVERSION=\"$(VERSION)\"

OBJ=common.o net.o netdev.o runcommand.o iw.o wireless_tools.o wpa_supplicant.o wifi.o interactive.o settings.o help.o

all: $(OBJ) libUseful-4/libUseful.a
all: $(OBJ)
$(CC) $(FLAGS) -oterm_wifi $(OBJ) main.c $(LIBS)

libUseful-4/libUseful.a:
Expand Down
4 changes: 2 additions & 2 deletions Makefile.in
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
VERSION=1.6
CC=@CC@
LIBS=@LDFLAGS@ @LIBS@ @STATIC_LIBS@
LIBS=@LDFLAGS@ @LIBS@ @LIBUSEFUL_BUNDLED@
FLAGS=@CFLAGS@ -DVERSION=\"$(VERSION)\"

OBJ=common.o net.o netdev.o runcommand.o iw.o wireless_tools.o wpa_supplicant.o wifi.o interactive.o settings.o help.o

all: $(OBJ) @STATIC_LIBS@
all: $(OBJ) @LIBUSEFUL_BUNDLED@
$(CC) $(FLAGS) -oterm_wifi $(OBJ) main.c $(LIBS)

libUseful-4/libUseful.a:
Expand Down
Loading

0 comments on commit 92687be

Please sign in to comment.