use libpthread for main test prog

parent 6589d21b
......@@ -34,6 +34,7 @@ $(TARGET).a:
$(AR) r $@ $^
$(TARGET).o: $(TARGET).h
main: LDFLAGS+=-lpthread
main: main.o libertm.a display.o
$(CC) $(CFLAGS) -o $@ $^ $(LDLIBS) $(LDFLAGS) -lm -ludev
udev-find: udev-find.o libertm.a
......
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