fix red
[kugel-rb.git] / utils / disassembler / arm / Makefile
blob786325e27d3758346d66920125c42d014f78ff8e
1 CFLAGS = -Wall
3 ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN)
4 OUTPUT=arm_disass.exe
5 CROSS=
6 CFLAGS+=-mno-cygwin
7 else
8 OUTPUT=arm_disass
9 CROSS=i586-mingw32msvc-
10 endif
12 NATIVECC = gcc
13 CC = $(CROSS)gcc
15 all: $(OUTPUT)
17 arm_disass: main.c disasm_arm.c
18 gcc $(CFLAGS) -o arm_disass main.c disasm_arm.c
19 strip arm_disass
21 arm_disass.exe: main.c disasm_arm.c
22 $(CC) $(CFLAGS) -o arm_disass.exe main.c disasm_arm.c
23 $(CROSS)strip arm_disass.exe
25 clean:
26 rm -f arm_disass main.o disasm_arm.o *~