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
mesa-framework-mesa-handle-…/shm_consumer/Makefile

27 lines
396 B
Makefile
Raw Normal View History

2022-06-10 16:14:32 +08:00
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/libMESA_snprintf.a
LIB+=-lpthread
LIB_FILE=$(wildcard ../lib/*.a)
SRC=MESA_shm_consumer.c
TARGET=MESA_shm_consumer
all:$(TARGET)
$(TARGET):$(SRC) $(LIB_FILE)
$(CC) $(CFLAGS) $(INC) $(LIBPATH) $< $(LIB) -o $@
clean :
rm -f $(TARGET)