VMProtect/third-party/libudis86/Makefile.lnx
VNGhostMans 5ec92ee05e first commit
Version 3.x.x
2023-05-14 20:21:09 +07:00

15 lines
292 B
Makefile

#!/usr/bin/make -f
# for quick linux building as static library
SRCS = decode.c input.c itab.c mnem.c syn.c syn-intel.c udis86.c
OBJS = $(patsubst %.c,%.o,$(SRCS))
libudis86.a: $(OBJS)
ar cr $@ $^
ranlib $@
%.o: %.c
$(CC) -I. -Wall -fpic -c -o $@ $<
clean:
rm -f libudis86.a $(OBJS)