Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
Strip symbols
  • Loading branch information
iilegacyyii committed Jan 9, 2024
1 parent f5f91a1 commit d002dc4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
BOFNAME := threadless-inject
CC_x64 := x86_64-w64-mingw32-gcc

STRIP_x64 := x86_64-w64-mingw32-strip

all:
$(CC_x64) -o dist/$(BOFNAME).o -c entry.c
$(CC_x64) -o dist/$(BOFNAME).o -c entry.c -masm=intel -Wall
$(STRIP_x64) --strip-unneeded dist/$(BOFNAME).o

clean:
rm -f dist/$(BOFNAME).o

0 comments on commit d002dc4

Please sign in to comment.