makefile example

# Specify include directory. Leave blank for default system location.
INCDIR =

# Specify library directory. Leave blank for default system location.
LIBDIR =

# Specify library.
LIBS = -lica

TARGETS = example_aes128_gcm

all: $(TARGETS)

%: %.c
	gcc $(INCDIR) $(LIBDIR) $(LIBS) -o $@ $^

clean:
	rm -f $(TARGETS)

https://www.ibm.com/docs/en/linux-on-systems?topic=examples-makefile-example

posted @ 2025-04-17 12:58  微笑的''80  阅读(3)  评论(0)    收藏  举报