1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-11 13:50:48 -05:00

fix arch linux build.

This commit is contained in:
Martijn Koedam 2013-02-04 14:35:23 +01:00
parent 969b6a2921
commit 8910607591

View file

@ -1,4 +1,4 @@
CFLAGS?=-Wall -Os -std=c99
CFLAGS?=-Wall -Os
PREFIX?=$(DESTDIR)/usr
BINDIR?=$(PREFIX)/bin
@ -18,10 +18,10 @@ endif
all: normal
normal:
$(CC) -o simpleswitcher simpleswitcher.c $(CFLAGS) $(LDADD) $(LDFLAGS)
$(CC) -o simpleswitcher simpleswitcher.c -std=c99 $(CFLAGS) $(LDADD) $(LDFLAGS)
debug:
$(CC) -o simpleswitcher-debug simpleswitcher.c $(CFLAGS) -Wunused-parameter -g -DDEBUG $(LDADD)
$(CC) -o simpleswitcher-debug simpleswitcher.c -std=c99 $(CFLAGS) -Wunused-parameter -g -DDEBUG $(LDADD)
install:
install -Dm 755 simpleswitcher $(BINDIR)/simpleswitcher