added randomizedset

This commit is contained in:
wt
2026-04-08 17:55:26 +07:00
parent ea3d15f694
commit 1bb417d151
8 changed files with 100 additions and 1 deletions
+17
View File
@@ -0,0 +1,17 @@
CXX = g++
CFLAGS = -Wall -g
SRCS = $(wildcard src/*/*.cpp src/*.cpp)
OBJS = $(SRCS:.cpp=.o)
TARGET = randomizedset
CROSS_COMPILE =
all: $(TARGET)
$(TARGET): $(OBJS)
$(CROSS_COMPILE)$(CXX) $(LDFLAGS) $^ -o $@ $(LIBS)
%.o: %.cpp
$(CROSS_COMPILE)$(CXX) $(CFLAGS) $(INCLUDES) -c $< -o $@
clean:
rm -f $(OBJS) $(TARGET)