Skip to content

Commit

Permalink
just garbage
Browse files Browse the repository at this point in the history
  • Loading branch information
Beasty committed May 1, 2022
1 parent 07211be commit 60063de
Show file tree
Hide file tree
Showing 1,066 changed files with 1,837,288 additions and 452 deletions.
8 changes: 4 additions & 4 deletions tools/cod4_dasm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ VERSION=0.4
BITS=32

GCC_EXTRA_FLAGS=-m$(BITS)
GCCFLAGS+=-g -Iinclude -Wall -MMD -fno-omit-frame-pointer -O0 $(GCC_EXTRA_FLAGS)
GCCFLAGS+=-g -Iinclude -Wall -MMD -fno-omit-frame-pointer -O0 -Wno-unused-function -Wno-unused-parameter $(GCC_EXTRA_FLAGS)
ifeq ($(USE_LIBCXX), 1)
GCCFLAGS+=-stdlib=libc++ -DUSE_LIBCXX
CXX_LDFLAGS+=-lc++ -lsupc++
CXX_LDFLAGS+=-lc++ -lsupc++ -fsanitize=address
CC=clang
CXX=clang++
endif
CXXFLAGS=$(GCCFLAGS) -W --std=c++11
CFLAGS=$(GCCFLAGS) -fPIC
CFLAGS=$(GCCFLAGS)

EXES=cod4_dasm

Expand Down Expand Up @@ -66,7 +66,7 @@ $(MAC_CXX_BINS): %.cc.bin: %.cc
# touch $@

cod4_dasm: cod4_dasm.o mach-o.o fat.o log.o libudis86/decode.o libudis86/itab.o libudis86/syn.o libudis86/syn-intel.o libudis86/udis86.o
$(CXX) -v $^ -o $@ -g -ldl -lpthread $(GCC_EXTRA_FLAGS) $(CXX_LDFLAGS)
$(CXX) $^ -o $@ -g -ldl -lpthread $(GCC_EXTRA_FLAGS) $(CXX_LDFLAGS)

dist:
cd /tmp && rm -fr maloader-$(VERSION) && git clone [email protected]:shinh/maloader.git && rm -fr maloader/.git && mv maloader maloader-$(VERSION) && tar -cvzf maloader-$(VERSION).tar.gz maloader-$(VERSION)
Expand Down
Binary file added tools/cod4_dasm/cod4_appstore.bin
Binary file not shown.
Binary file added tools/cod4_dasm/cod4_client.bin
Binary file not shown.
Binary file modified tools/cod4_dasm/cod4_dasm
Binary file not shown.
Loading

0 comments on commit 60063de

Please sign in to comment.