fixed wrong chaining in hip_sleep()

This commit is contained in:
2025-06-10 22:27:12 +09:00
parent 92c4376498
commit 0865609ec7
3 changed files with 159 additions and 112 deletions

View File

@ -1,2 +1,17 @@
all:
cc -Wall -g -o ctx ctx.c -lrt
SRCS = ctx.c
OBJS = $(SRCS:.c=.o)
CFLAGS := -Wall -g
LDFLAGS :=
LIBS := -lrt
all: $(OBJS)
$(CC) $(LDFLAGS) -o hip $(OBJS) $(LIBS)
clean:
rm -f $(OBJS) hip
.SUFFIXES: .c .o
.c.o:
$(CC) $(CFLAGS) -c $<