diff options
| author | matt <matt@obsidian.sml> | 2009-09-03 10:12:19 +1200 |
|---|---|---|
| committer | matt <matt@obsidian.sml> | 2009-09-03 10:12:19 +1200 |
| commit | 9fb591639e4cb9380b0031eb5c9f7fa1ed6d58a9 (patch) | |
| tree | 3b0e42027c3ea03570893362aa47d48760b89712 | |
| parent | 548598753f6b884e0f99be7aa95115b42febb720 (diff) | |
Fixed Makefile, need to specify libs after objects.
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |
