Makefile: move linking libraries after the object files

This commit is contained in:
oblique 2013-10-30 21:05:37 +02:00
parent 4444e9d014
commit 19e12c519f

View File

@ -20,7 +20,7 @@ endif
all: wificurse
wificurse: $(OBJS)
$(CC) $(CFLAGS) $(LIBS) $(LDFLAGS) $(OBJS) -o $@
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS) -o $@
%.o: %.c $(HDRS)
$(CC) $(CFLAGS) -c $< -o $@