Skip to content

Commit

Permalink
cleanup Makefile for M680K. also include its INC files in dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
aquynh committed Oct 21, 2017
1 parent 1ec3060 commit d7281e9
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -225,16 +225,14 @@ ifneq (,$(findstring tms320c64x,$(CAPSTONE_ARCHS)))
endif

DEP_M680X =
DEP_M680X += arch/M680X/M680XInstPrinter.h
DEP_M680X += arch/M680X/M680XDisassembler.h
DEP_M680X += arch/M680X/M680XDisassemblerInternals.h
DEP_M680X += $(wildcard arch/M680X/*.inc)
DEP_M680X += $(wildcard arch/M680X/M680X*.h)

LIBOBJ_M680X =
ifneq (,$(findstring m680x,$(CAPSTONE_ARCHS)))
CFLAGS += -DCAPSTONE_HAS_M680X
LIBOBJ_M680X += $(OBJDIR)/arch/M680X/M680XDisassembler.o
LIBOBJ_M680X += $(OBJDIR)/arch/M680X/M680XInstPrinter.o
LIBOBJ_M680X += $(OBJDIR)/arch/M680X/M680XModule.o
LIBSRC_M680X += $(wildcard arch/M680X/*.c)
LIBOBJ_M680X += $(LIBSRC_M680X:%.c=$(OBJDIR)/%.o)
endif

LIBOBJ =
Expand Down

0 comments on commit d7281e9

Please sign in to comment.