mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
18 lines
358 B
Makefile
18 lines
358 B
Makefile
# Minimal makefile to generate error codes and link a test app
|
|
SRC= main.c
|
|
OBJ= main.o
|
|
HEADER=test_err.h
|
|
ERROBJ= test_err.o
|
|
CC=gcc
|
|
CFLAGS=-I../../include
|
|
LDFLAGS=-L../.. -lcrypto
|
|
|
|
PERL=perl
|
|
|
|
testapp: $(OBJ) $(ERROBJ) $(HEADER)
|
|
$(CC) -o testapp $(OBJ) $(ERROBJ) $(LDFLAGS)
|
|
|
|
errors:
|
|
$(PERL) ../../util/mkerr.pl -conf test_err.ec \
|
|
-nostatic -write $(SRC)
|