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

Overview
Comment:Makefile take III
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 470028ec4002e0c396e184dec1271a89bd9ce87e91346a6db1b147015c6bd68a
User & Date: jmcclure 2018-05-26 23:29:32
Context
2018-05-26
23:33
Added license declarations to all source files check-in: b8f3978262 user: jmcclure tags: trunk
23:29
Makefile take III check-in: 470028ec40 user: jmcclure tags: trunk
22:59
Removed wmutil from Makefile part II: clean directive check-in: 1117436e86 user: jmcclure tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to Makefile.

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

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 wmutil wmutil.c $(CFLAGS) $(LDFLAGS) -lX11
	$(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