You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
331 B
Makefile

CC =g++
CFLAGS =-I../ -I../../memflow-ffi/ -L../../target/release
LIBS=-lm -Wl,--no-as-needed -ldl -lpthread -l:libmemflow_win32_ffi.a
ODIR=./
%.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)
phys_mem.out: phys_mem.o
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
.PHONY: all
all: phys_mem.out
.DEFAULT_GOAL := all
clean:
rm -f $(ODIR)/*.o