Commit c876e61b authored by minoru's avatar minoru

Fixed linking errors with old versions of ld

parent 55e08dd4
......@@ -12,10 +12,10 @@ LIBS = `pkg-config --libs libusb-1.0`
all: $(OBJECTS) $(PROGS)
minipro: $(COMMON_OBJECTS) main.o
$(CC) $(LIBS) $(COMMON_OBJECTS) main.o -o $(MINIPRO)
$(CC) $(COMMON_OBJECTS) main.o $(LIBS) -o $(MINIPRO)
minipro-query-db: $(COMMON_OBJECTS) minipro-query-db.o
$(CC) $(LIBS) $(COMMON_OBJECTS) minipro-query-db.o -o $(MINIPRO_QUERY_DB)
$(CC) $(COMMON_OBJECTS) minipro-query-db.o $(LIBS) -o $(MINIPRO_QUERY_DB)
clean:
rm -f $(OBJECTS) $(PROGS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment