From 1843b364cb6b364f13d40296f65bcd7b25d3f6e8 Mon Sep 17 00:00:00 2001 From: pixel Date: Fri, 6 Jul 2007 16:26:27 +0000 Subject: Adding test-it to makefile, and fixing 64-bits offsets. --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8c720b8..71f248d 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,9 @@ CC = gcc +LD = gcc AR = ar rcs -CPPFLAGS = -g -Wall -Werror +CPPFLAGS = -g -Wall -Werror -D_FILE_OFFSET_BITS=64 +LDFLAGS = -g -lssl SOURCE_LIST = \ MPQCryptography.c \ @@ -23,6 +25,9 @@ all: dep $(TARGET) $(TARGET): $(OBJ_LIST) $(AR) $@ $(OBJ_LIST) +test-it: $(TARGET) test-it.o + $(LD) -o test-it test-it.o $(TARGET) $(LDFLAGS) + clean: rm -f *.o *.dep $(TARGET) -- cgit v1.2.3