1
0
forked from extern/nix-config
donovanglover-nix-config/.archlinux/PKGBUILDs/xeventbind/Makefile
Donovan Glover 39144c4ca0
PKGBUILDs: Rename tari-util-xeventbind to xeventbind
Since Tari will work as an independent PKGBUILD now, and since
xeventbind is an individual program not related to Tari, it makes
sense to remove the associated prefix.
2018-12-08 02:04:08 -05:00

18 lines
212 B
Makefile
Vendored

CC=gcc
CFLAGS=-O2
LIBS=-lX11
OBJ=main.o xeb_handler.o
.PHONY: all clean
all: xeventbind
xeventbind: $(OBJ)
$(CC) -o $@ $^ $(LIBS) $(CFLAGS)
%.o: %.c
$(CC) -c -o $@ $< $(CLAGS)
clean:
rm -f xeventbind *.o