VMProtect/third-party/libudis86/Makefile.lnx

15 lines
292 B
Makefile
Raw Normal View History

2023-05-14 16:21:09 +03:00
#!/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)