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

23 lines
420 B

TARGET = prog
LIBS = -lm
CC = gcc -O3 -shared -fPIC -pthread
CFLAGS = -g -Wall -std=gnu99 -maes
.PHONY: default all clean
default: $(TARGET)
all: default
OBJECTS = $(patsubst %.c, %.o, $(wildcard *.c))
HEADERS = $(wildcard *.h)
%.o: %.c $(HEADERS) $(CC) $(CFLAGS) -c $< -o $@
$(CC) $(OBJECTS) -Wall $(LIBS) -o
-rm -f *.o
-rm -f $(TARGET)