From 9fb591639e4cb9380b0031eb5c9f7fa1ed6d58a9 Mon Sep 17 00:00:00 2001 From: matt Date: Thu, 3 Sep 2009 10:12:19 +1200 Subject: Fixed Makefile, need to specify libs after objects. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2137726..a92869a 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,12 @@ GENERICOBJECTS = main.o general.o memfile.o xml.o endian.o MAINOBJECTS = brlyt.o brlan.o OBJECTS = $(GENERICOBJECTS) $(MAINOBJECTS) -LIBS = -L. -lmxml +LIBS = -L. -lmxml -lpthread OUTPUT = benzin all: $(OUTPUT) %.o: %.c gcc -fno-strict-aliasing -c -o $@ $< $(OUTPUT): $(OBJECTS) - gcc -o $(OUTPUT) $(LIBS) $(OBJECTS) + gcc -o $(OUTPUT) $(OBJECTS) $(LIBS) clean: rm -f $(OUTPUT) $(OBJECTS) -- cgit v1.3.1