X-Git-Url: https://harrygodden.com/git/?p=convexer.git;a=blobdiff_plain;f=Makefile;fp=Makefile;h=0000000000000000000000000000000000000000;hp=9a4c41c55506c66a81d3ebcbbef470aed78bed96;hb=05e7fa40fd47dd5bfeaa1de9e9eba73319ae8564;hpb=23283f27eb4a14456ba00dc05e83bf19ad71b1a6 diff --git a/Makefile b/Makefile deleted file mode 100644 index 9a4c41c..0000000 --- a/Makefile +++ /dev/null @@ -1,48 +0,0 @@ -all: objdir libcxr.so libnbvtf.so - -objdir: - mkdir -p nbvtf/obj - -libcxr.so: cxr/cxr.h cxr/cxr_math.h cxr/cxr_mem.h - gcc -O1 -ggdb -fPIC -shared \ - -Wall -Wno-unused-variable -Wno-unused-function -std=c99 -pedantic \ - -DCXR_SO -DCXR_DEBUG -DCXR_VALVE_MAP_FILE \ - -xc cxr/cxr.h \ - -o libcxr.so \ - -lm - -tovtf: nbvtf/obj/librgbcx.o nbvtf/obj/tovtf.o - g++ -O3 \ - -Wno-unused-variable -Wno-unused-function -fsanitize=address -Werror=vla \ - nbvtf/obj/tovtf.o nbvtf/obj/librgbcx.o \ - -o tovtf - -nbvtf/obj/librgbcx.o: nbvtf/librgbcx.cc nbvtf/rgbcx.h - g++ -O3 -c \ - nbvtf/librgbcx.cc \ - -o nbvtf/obj/librgbcx.o - -nbvtf/obj/tovtf.o: nbvtf/vtf_cmd.c nbvtf/nbvtf.h - gcc -O3 -c \ - -DUSE_LIBRGBCX \ - -I./nbvtf/ \ - nbvtf/vtf_cmd.c \ - -o nbvtf/obj/tovtf.o - -nbvtf/obj/libnbvtf.o: nbvtf/nbvtf.h - gcc -O3 -fPIC -c \ - -DUSE_LIBRGBCX -DNBVTF_AS_SO \ - -xc nbvtf/nbvtf.h \ - -o nbvtf/obj/libnbvtf.o - -libnbvtf.so: nbvtf/obj/librgbcx.o nbvtf/obj/libnbvtf.o - g++ -O3 -shared \ - nbvtf/obj/librgbcx.o nbvtf/obj/libnbvtf.o \ - -o libnbvtf.so - -test: cxr/test.c cxr/cxr.h cxr/cxr_math.h cxr/solid.h - gcc -ggdb -O1 -Wall \ - -Wno-unused-variable -Wno-unused-function -fsanitize=address -Werror=vla \ - cxr/test.c \ - -o test \ - -lm