forked from extern/nix-config
39144c4ca0
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.
18 lines
212 B
Makefile
Vendored
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
|