aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormatt <matt@obsidian.sml>2009-09-03 10:12:19 +1200
committermatt <matt@obsidian.sml>2009-09-03 10:12:19 +1200
commit9fb591639e4cb9380b0031eb5c9f7fa1ed6d58a9 (patch)
tree3b0e42027c3ea03570893362aa47d48760b89712 /Makefile
parent548598753f6b884e0f99be7aa95115b42febb720 (diff)
Fixed Makefile, need to specify libs after objects.
Diffstat (limited to '')
-rw-r--r--Makefile4
1 files 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)