xtools

Artifact Content

Artifact 57c8077546ae17f6083aeb0f27e1f17b733d856c7ef52e4f3f8a945df57e9e12:



CC       = gcc
CFLAGS   = -march=native -O2 -pipe -fstack-protector-strong -fno-plt
LDFLAGS  = -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
PREFIX   = /usr

all:
	$(CC) -o xi xi.c $(CFLAGS) $(LDFLAGS)
	$(CC) -o tmuxwm tmuxwm.c $(CFLAGS) $(LDFLAGS) -lX11

install:
	install -Dm0755 xi $(DESTDIR)$(PREFIX)/bin/xi
	install -Dm0755 tmuxwm $(DESTDIR)$(PREFIX)/bin/tmuxwm

clean:
	rm -f xi tmuxwm