Removed previous stuff

This commit is contained in:
John Newby
2019-08-06 15:55:39 +02:00
parent 018c4c9325
commit 6229badcae
5 changed files with 0 additions and 234 deletions
-26
View File
@@ -1,26 +0,0 @@
DEBUG ?= 0
ifeq ($(DEBUG), 1)
CFLAGS =-DDEBUG=1
else
CFLAGS=-DNDEBUG -Ofast
endif
CC = gcc
LIBS = -llibecrecover.so
LDPATH = -Ltarget/debug
INCLUDEPATH = -Iinclude
%.o: %.c $(DEPS)
$(CC) $(CFLAGS) -c -o $(INCLUDEPATH) $@ $<
all: test erl_ecrecover
test: src/test.c src/base64.c target/release/libecrecover.so
$(CC) -o $@ $^ $(INCLUDEPATH) $(CFLAGS) $(LDPATH)
./test
erl_ecrecover: src/erl_ecrecover.c src/base64.c src/erl_comm.c target/debug/libecrecover.so
$(CC) -o$ $@ $^ $(INCLUDEPATH) $(CFLAGS) $(LDPATH)
clean:
rm -f erl_ecrecover test