From 8cb3498ffa8737988572c3b8be68aa683d4770d0 Mon Sep 17 00:00:00 2001 From: Seba Date: Wed, 7 May 2014 08:16:54 +0200 Subject: [PATCH] Update Makefile.main Put LDFLAGS variable after OBJS. Otherwise it won't build ie on linux ubuntu 14.04 --- passe-partout-0.1/Makefile.main | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passe-partout-0.1/Makefile.main b/passe-partout-0.1/Makefile.main index c9ed569..1a1b3f9 100644 --- a/passe-partout-0.1/Makefile.main +++ b/passe-partout-0.1/Makefile.main @@ -6,7 +6,7 @@ LDFLAGS=-lcrypto all: $(LIB) $(BIN) $(BIN): $(OBJS) - $(CC) $(CFLAGS) -o $@ $(LDFLAGS) $(OBJS) + $(CC) $(CFLAGS) -o $@ $(OBJS) $(LDFLAGS) %.o: %.c $(CC) $(CFLAGS) -Wall -g -o $@ -c $<