Skip to content

Commit d779b85

Browse files
authored
Merge pull request #13 from 24mu13/fix-linux-build
Fix build on Linux
2 parents 4b66afd + d12f5f7 commit d779b85

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Makefile.linux

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ VPATH=$(SRCDIR)
2222

2323

2424
ziphone: $(LIBOBJS) $(OBJS)
25-
cd $(OBJDIR); $(CC) $(LDFLAGS) $^ -o $@; rm -rf *.o
25+
cd $(OBJDIR); $(CC) $^ $(LDFLAGS) -o $@; rm -rf *.o
2626

2727
setup: clean
2828
mkdir -p $(OBJDIR); cp *dat $(OBJDIR)/; cp -r docs $(OBJDIR)/
2929

3030
bzip2:
31-
mv $(OBJDIR) ziphone-3.6-cli-linux; tar -jcvf ziphone-3.6-freebsd-cli.tar.bz2 ziphone-3.6-linux-cli
31+
mv $(OBJDIR) ziphone-3.6-linux-cli; tar -jcvf ziphone-3.6-linux-cli.tar.bz2 ziphone-3.6-linux-cli
3232

3333

3434
clean:

install-linux.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ apt-get install build-essential libusb-dev bzip2
66

77
Then cd into the directory of the extracted source and execute the command:
88

9-
make -f Makefile.freebsd
9+
make -f Makefile.linux
1010

1111
To build the GUI, make sure the package gnome-devel is installed, build the CLI and then execute the command:
1212

13-
./linuxgui.sh
13+
./linuxgui.sh

0 commit comments

Comments
 (0)