Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 49db7f64b1
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (18 sloc) 0.403 kB
CFLAGS := -ansi -Wall -Wextra -pedantic -Os $(CFLAGS) -pthread
LDFLAGS := -lrt $(LDFLAGS) -pthread
ifndef PREFIX
PREFIX = /usr/local
endif
ifndef BINDIR
BINDIR = /bin
endif
SRC = wakeup.c
OBJ = $(SRC:.c=.o)
OUT = wakeup
all: $(OUT)
$(OUT): $(OBJ)
$(CC) -o $@ $(OBJ) $(LDFLAGS)
install: all
install -Dm755 $(OUT) $(DESTDIR)$(PREFIX)$(BINDIR)/$(OUT)
clean:
$(RM) $(OUT) $(OBJ)
Jump to Line
Something went wrong with that request. Please try again.