diff Makefile @ 6:7539e6e1c299

fix desktop file and arguments order in Makefile
author Pavol Rusnak <stick@gk2.sk>
date Thu, 06 Oct 2011 16:02:19 +0200
parents e4ff04df085c
children 56a7ed833d0a
line wrap: on
line diff
--- a/Makefile	Thu Oct 06 15:38:49 2011 +0200
+++ b/Makefile	Thu Oct 06 16:02:19 2011 +0200
@@ -7,10 +7,10 @@
 all: $(NAME)
 
 $(NAME): $(OBJS)
-	$(CC) $(LDFLAGS) $(OBJS) -o $(NAME)
+	$(CC) $(OBJS) $(LDFLAGS) -o $(NAME)
 
 %.o: %.c
-	$(CC) $(CFLAGS) -c $< -o $@
+	$(CC) -c $< $(CFLAGS) -o $@
 
 clean:
 	rm -f $(OBJS) $(NAME)