diff options
| author | fumingwei <[email protected]> | 2023-03-28 19:06:49 +0800 |
|---|---|---|
| committer | fumingwei <[email protected]> | 2023-03-28 19:06:49 +0800 |
| commit | 1e22236b3fdce7446422fedb03594cf09c3d4cfb (patch) | |
| tree | ba2f884e6a9b9ad39cc255f1445b0492ad8b7553 /src/Makefile | |
| parent | 1b65cc6b0cabca68f7e731a5d201dc1071bbd48d (diff) | |
bugfix:1.将MESA_field_stat2改为fieldstat3 2.修复develop分支编译失败问题v3.0.1refactor-fieldstat3
Diffstat (limited to 'src/Makefile')
| -rw-r--r-- | src/Makefile | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/Makefile b/src/Makefile deleted file mode 100644 index 9099a6b..0000000 --- a/src/Makefile +++ /dev/null @@ -1,33 +0,0 @@ -MAJOR_VER=2 -MINOR_VER=8 -RELEASE_DATE=20181118 -CC = g++ -GCC = gcc -CFLAGS = -Wall -CFLAGS += -g -fPIC -LDFLAGS = -shared -LDFLAGS += -Wl,--version-script=version.map -H_DIR = -I../inc -SOURCES = MESA_field_stat.cpp hdr_histogram.c -OBJS = $(SOURCES:.c=.o ,.cc=.o) -TARGET_LIB = libMESA_field_stat2.a -TARGET_SO = libMESA_field_stat2.so.$(MAJOR_VER).$(MINOR_VER).$(RELEASE_DATE) -.PHONY: all clean deps -.cpp.o: - $(CC) -c $(CFLAGS) -I. $(H_DIR) $< -.c.o: - $(GCC) -c $(CFLAGS) -I. $(H_DIR) $< -all: $(TARGET_LIB) $(TARGET_SO) - -deps: - @$(CC) -MM $(SOURCES) $(CFLAGS) - -$(TARGET_LIB): MESA_field_stat.o hdr_histogram.o - ar -r $@ $^ - cp $(TARGET_LIB) ../lib/ -$(TARGET_SO): MESA_field_stat.o hdr_histogram.o - $(CC) $(LDFLAGS) -o $(TARGET_SO) $^ -lrt - cp $(TARGET_SO) ../lib/ - -clean: - rm -f $(TARGET_LIB) $(TARGET_SO) *.o core core.* |
