This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files

25 lines
370 B
Makefile

vpath %.h ../inc
vpath %.a ../lib
CC=gcc
CFLAGS= -g3 -Wall -fPIC -O -Werror
CFLAGS+=-I../inc/
#LIB=-L../lib/
LIB=../lib/libMESA_handle_logger.a
LIB+=-lpthread
LIB_FILE=$(wildcard ../lib/*.a)
SRC=test_handle_logger.c
TARGET=test_handle_logger
all:$(TARGET)
$(TARGET):$(SRC) $(LIB_FILE)
$(CC) $(CFLAGS) $(INC) $(LIBPATH) $< $(LIB) -o $@
clean :
rm -f $(TARGET)