Skip to content

Commit

Permalink
Fix to argument order for gcc.
Browse files Browse the repository at this point in the history
For some reason, the old argument order would lead to link errors.
  • Loading branch information
mackstann committed Nov 27, 2011
1 parent 8359509 commit eb90608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PREFIX?=/usr/X11R6
CFLAGS?=-Os -pedantic -Wall

all:
$(CC) $(CFLAGS) -I$(PREFIX)/include -L$(PREFIX)/lib -lX11 -o tinywm tinywm.c
$(CC) $(CFLAGS) -I$(PREFIX)/include tinywm.c -L$(PREFIX)/lib -lX11 -o tinywm

clean:
rm -f tinywm
Expand Down

0 comments on commit eb90608

Please sign in to comment.