CCSDS_study project

This commit is contained in:
2026-05-05 21:54:35 +08:00
commit 9be41f9270
585 changed files with 91275 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
DEBUG=no
SRC=rel_test.c \
rel_equality.c \
rel_size.c
OBJ=$(SRC:.c=.o)
SOBJ=$(OBJ:.o=.so)
CFLAGS=-fPIC -I../../includes
LDFLAGS=-L/usr/lib
ifeq ($(DEBUG),yes)
CFLAGS+= -g -D__DEBUG__
endif
all: $(SOBJ)
%.o: %.c
$(CC) -c -pthread $(CFLAGS) $< -o $@
%.so: %.o
$(CC) -shared -Wl,-soname,$@ $(LDFLAGS) $< -o $@
clean:
$(RM) $(OBJ) $(SOBJ)
re: clean all