xtools

Check-in [470028ec40]

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

Changes to Makefile.

     2      2   CC       = gcc
     3      3   CFLAGS   = -march=native -O2 -pipe -fstack-protector-strong -fno-plt
     4      4   LDFLAGS  = -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
     5      5   PREFIX   = /usr
     6      6   
     7      7   all:
     8      8   	$(CC) -o xi xi.c $(CFLAGS) $(LDFLAGS)
     9         -	$(CC) -o wmutil wmutil.c $(CFLAGS) $(LDFLAGS) -lX11
    10      9   	$(CC) -o tmuxwm tmuxwm.c $(CFLAGS) $(LDFLAGS) -lX11
    11     10   
    12     11   install:
    13     12   	install -Dm0755 xi $(DESTDIR)$(PREFIX)/bin/xi
    14     13   	install -Dm0755 tmuxwm $(DESTDIR)$(PREFIX)/bin/tmuxwm
    15     14   
    16     15   clean:
    17     16   	rm -f xi tmuxwm