Skip to content

Commit

Permalink
1.0.3: Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
zvezdochiot committed Jul 3, 2022
1 parent 9f9f469 commit 0b9c5c2
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
19 changes: 19 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
CC ?= gcc
CFLAGS ?= -O2 -pthread
CFLAGS += -Wall
LDFLAGS += -lX11 -s
PROG = xkbs1kls
OBJS = xkbs1kls.o

all: $(PROG)

$(PROG): $(OBJS)
$(CC) $^ $(LDFLAGS) -o $@

$(OBJS): *.c
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@

clean:
rm -f $(PROG) $(OBJS)

.PHONY: all install clean
1 change: 0 additions & 1 deletion build

This file was deleted.

File renamed without changes.

0 comments on commit 0b9c5c2

Please sign in to comment.