Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
krystalgamer committed Nov 9, 2023
1 parent d3a6740 commit 432796d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/c-cpp.yml
Expand Up @@ -24,3 +24,6 @@ jobs:
- name: Build pkr_extractor
working-directory: ./pkr_extractor
run: mingw32-make
- uses: actions/upload-artifact@v3
with:
path: pkr_extractor
6 changes: 3 additions & 3 deletions pkr_extractor/Makefile
@@ -1,13 +1,13 @@
CC=i686-w64-mingw32-gcc.exe
STRIP=i686-w64-mingw32-strip.exe
CC=i686-w64-mingw32-gcc
STRIP=i686-w64-mingw32-strip
LIBS = -lz
OBJ = pkr.o walk.o extract.o
CFLAGS = -std=c11 -O2 -static

all: strip

strip: pkr
$(STRIP) pkr.exe
$(STRIP) pkr

%.o: %.c
$(CC) -c -o $@ $< $(CFLAGS) $(LIBS)
Expand Down

0 comments on commit 432796d

Please sign in to comment.