xtools

Check-in [8186721cbc]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Conditional Makefile variables
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:8186721cbc89a1ea7c2277b81da8e1d7a08a6dade0492ec46fe0e425b74fa620
User & Date: jmcclure 2018-05-26 23:55:11
Context
2018-05-27
01:33
Rescinded licenses for future commits check-in: 743b49d88e user: jmcclure tags: trunk
2018-05-26
23:55
Conditional Makefile variables check-in: 8186721cbc user: jmcclure tags: trunk
23:33
Added license declarations to all source files check-in: b8f3978262 user: jmcclure tags: trunk
Changes

Changes to Makefile.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

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

|
|
|
|











1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

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